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

80 lines
2.2 KiB
Objective-C
Executable File

/**
**
** @RDE_HEADER@
** Definition of tansient tactical symbols while rubberband input is done.
** $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 .........:
**
** 01.09.2015, JT : First edition for use with Qt5
**
** -----------------------------------------------------------------------------------------------
*/
#pragma once
#include "rubberband_drawable.h"
#include <MapImpl/map_impl.h>
#include <Common/referenced.h>
#include <QtCore/QObject>
namespace SituationMap { class SidcSymbolImpl; }
namespace SituationMap { namespace RB
{
/**
@class TransientTacticalSymbol transient_tactical_symbol.h
The class \c TransientTacticalSymbol a map object of type RubberbandObjectImpl to display a tactical symbol
transiently while rubberband input is done. The tactical symbol is defined by a \a sidc code which is passed
to the ctor as second parameter.
@see RubberbandObjectImpl
*/
class TransientTacticalSymbol : public QObject, public SituationMap::Referenced
{
Q_OBJECT
public:
/**
@name Construction & Destruction
@{
*/
explicit TransientTacticalSymbol( MapImpl *, const QString & sidc );
virtual ~TransientTacticalSymbol();
TransientTacticalSymbol(const TransientTacticalSymbol &) = delete;
TransientTacticalSymbol & operator = (const TransientTacticalSymbol &) = delete;
/** @} */
virtual void update( const QVector<RubberbandDrawable::RubberbandCoordinate> & coordinateVector );
protected:
SidcSymbolImpl * _tacticalRubberbandObj;
protected slots:
}; /* TransientTacticalSymbol */
} } /* namespace SituationMap::RB */