52 #ifndef VTOOLSINGLEPOINT_H
53 #define VTOOLSINGLEPOINT_H
55 #include <qcompilerdetection.h>
56 #include <QGraphicsItem>
57 #include <QMetaObject>
64 #include "../vabstractpoint.h"
65 #include "../vmisc/def.h"
66 #include "../vwidgets/vscenepoint.h"
78 const QColor &lineColor, QGraphicsItem * parent =
nullptr);
81 virtual
int type() const Q_DECL_OVERRIDE {
return Type;}
89 virtual void GroupVisibility(quint32
object,
bool visible) Q_DECL_OVERRIDE;
96 virtual void Disable(
bool disable,
const QString &draftBlockName) Q_DECL_OVERRIDE;
101 virtual
void AllowHover(
bool enabled) Q_DECL_OVERRIDE;
110 virtual
void mousePressEvent(QGraphicsSceneMouseEvent *event) Q_DECL_OVERRIDE;
111 virtual
void mouseReleaseEvent ( QGraphicsSceneMouseEvent * event ) Q_DECL_OVERRIDE;
112 virtual
void hoverEnterEvent(QGraphicsSceneHoverEvent *event) Q_DECL_OVERRIDE;
113 virtual QVariant
itemChange ( GraphicsItemChange change, const QVariant &value ) Q_DECL_OVERRIDE;
115 virtual
void contextMenuEvent (QGraphicsSceneContextMenuEvent * event ) Q_DECL_OVERRIDE;
The VContainer class container of all variables.
The VGObject class keep information graphical objects.