Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+98
View File
@@ -0,0 +1,98 @@
/**
**
** @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 <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 */