52 #ifndef VABSTRACTPOINT_H
53 #define VABSTRACTPOINT_H
55 #include <qcompilerdetection.h>
57 #include <QMetaObject>
65 #include "../vdrawtool.h"
66 #include "../ifc/ifcdef.h"
67 #include "../vgeometry/vpointf.h"
68 #include "../vmisc/vabstractapplication.h"
69 #include "../vpatterndb/vcontainer.h"
70 #include "../vmisc/def.h"
71 #include "../vwidgets/vmaingraphicsscene.h"
72 #include "../../../visualization/visualization.h"
73 #include "../../vabstracttool.h"
82 virtual QString
getTagName() const Q_DECL_OVERRIDE;
88 virtual
void ShowTool(quint32
id,
bool enable) Q_DECL_OVERRIDE;
104 template <typename T>
111 AddVisualization<T>();
116 if (T *visual = qobject_cast<T *>(
vis))
129 template <
typename T>
virtual void updatePointNamePosition(quint32 id, const QPointF &pos)=0
virtual QString getTagName() const Q_DECL_OVERRIDE
virtual ~VAbstractPoint() Q_DECL_EQ_DEFAULT
static void InitToolConnections(VMainGraphicsScene *scene, T *tool)
void SetPointName(quint32 id, const QString &name)
VAbstractPoint(VAbstractPattern *doc, VContainer *data, quint32 id)
virtual void ShowTool(quint32 id, bool enable) Q_DECL_OVERRIDE
ShowTool highlight tool.
void ShowToolVisualization(bool show)
The VContainer class container of all variables.
The VMainGraphicsScene class main scene.
void EnablePointItemSelection(bool enable)
void enableTextItemSelection(bool enable)
void EnablePointItemHover(bool enable)
void enableTextItemHover(bool enable)