Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Viewer/SituationMap/Rubberbands/rubberband_internal.h
T
berrux-dev 598fc2560e Complete Qt6 migration: full clean build green across groups G1-G12 incl. runtime plugin set
new_docker_build.sh gains Group 12 (212 GUI/Data plugins); fixes LtsUtilsGuiDds visibility (LTO-stripped exports), LtsProjectionWorkstation unity name shadow, 6 unity-off dirs (dup file-scope statics, ddsftc INTERFACE sources) and reconfigures BUILD_FILTERMANAGEMENT/BUILD_PLUGINS_SERVICEMONITOR=ON
2026-10-20 09:36:57 +02:00

101 lines
2.4 KiB
Objective-C
Executable File

/**
**
** @RDE_HEADER@
** Definition of internal data of base class for rubberbands
** $Id$
** $HeadURL$
** $Author$
**
** -----------------------------------------------------------------------------------------------
**
** Hardware-Environment: Intel-PC
** Software-Environment: Windows 7, Qt 5.4. ArcGIS 10.2.5
**
** Language ........: C++ 11
**
** -----------------------------------------------------------------------------------------------
**
** Author ...........: Joerg Turla, SPD G, Tel. 3132
**
** -----------------------------------------------------------------------------------------------
**
** Notes .........:
**
** 16.06.2015, JT : First edition for use with Qt5
**
** -----------------------------------------------------------------------------------------------
*/
#pragma once
#include <QtCore/QList>
#include <QtCore/QPointer>
#include <QGraphicsScene>
#include <MapGraphicsView.h>
#include <Common/ref_pointer.h>
#include <Common/situation_map_logging.h>
#include "rubberband.h"
#include "rubberband_handle.h"
#include "rubberband_drawable.h"
class QHBoxLayout;
class QWidget;
class QPushButton;
class QGraphicsScene;
namespace Esri {
namespace ArcGISRuntime {
class MapGraphicsView;
} }
namespace SituationMap
{
class Map;
class CoordTranslationFunctor;
}
namespace SituationMap { namespace RB
{
class RubberbandHandleProxy;
/**
@class Rubberband::InternalData rubberband_internal.h
@brief Definition of internal data of rubberband base class.
*/
struct Rubberband::InternalData
{
Q_DISABLE_COPY(InternalData)
QPointer<Esri::ArcGISRuntime::MapGraphicsView> _mapView;
QPointer<QGraphicsScene> _mapScene;
QList<SituationMap::RefPointer<RubberbandHandle>> _handleList;
RubberbandDrawable * _constructionObjectDraw;
QGraphicsPixmapItem * _connectedPreviewPixmap;
QPointF _lastClickPosition;
QGraphicsPixmapItem * _constrainFailedMarker;
LOGGER_T _logger;
explicit InternalData( SituationMap::Map * map );
~InternalData();
void markFailedConstrains( QPoint pos, bool on );
}; /* InternalData */
} } /* namespace SituationMap::RB */