Files
qt5-legatus-legacy/Lts/Viewer/SituationMap/Rubberbands/rubberband_handle.cpp
T
2026-08-13 18:33:10 +02:00

71 lines
1.8 KiB
C++
Executable File

/**
**
** @RDE_HEADER@
** Implementation of base class for rubberband handles
** $Id$
** $HeadURL$
** $Author$
**
** -----------------------------------------------------------------------------------------------
**
** Hardware-Environment: Intel-PC
** Software-Environment: Windows 7, Qt 5.4. ArcGIS 10.2.5
**
** Language ........: C++ 11
**
** -----------------------------------------------------------------------------------------------
**
** Author ...........: Jörg Turla, SPD G, Tel. 3132
**
** -----------------------------------------------------------------------------------------------
**
** Notes .........:
**
** 27.03.2015, JT : First edition for use with Qt5
**
** -----------------------------------------------------------------------------------------------
*/
#include "rubberband_handle.h"
namespace SituationMap { namespace RB
{
RubberbandHandle::RubberbandHandle( QGraphicsView *view )
: RubberbandDrawable(view)
, _pickingRatio(5)
, _isSelected(false)
, _isSelectable(true)
, _userData(nullptr)
{
} /* RubberbandHandle::RubberbandHandle */
RubberbandHandle::RubberbandHandle( Esri::ArcGISRuntime::MapGraphicsView * mapView )
: RubberbandDrawable( mapView )
, _pickingRatio(5)
, _isSelected(false)
, _isSelectable(true)
, _userData(nullptr)
{
} /* RubberbandHandle::RubberbandHandle */
RubberbandHandle::RubberbandHandle( Esri::ArcGISRuntime::MapGraphicsView * mapView, QGraphicsScene * scene)
: RubberbandDrawable( mapView, scene )
, _pickingRatio(5)
, _isSelected(false)
, _isSelectable(true)
, _userData(nullptr)
{
} /* RubberbandHandle::RubberbandHandle */
RubberbandHandle::~RubberbandHandle()
{
} /* RubberbandHandle::~Rubberbandhandle */
} } /* namespace SituationMap::RB */