29 #ifndef DOUBLELINE_POINT_TOOL_H
30 #define DOUBLELINE_POINT_TOOL_H
32 #include "../vmisc/def.h"
33 #include "../vpatterndb/vformula.h"
34 #include "../vtoolsinglepoint.h"
36 #include <qcompilerdetection.h>
37 #include <QGraphicsItem>
38 #include <QMetaObject>
53 const QString &typeLine,
const QString &lineWeight,
56 QGraphicsItem * parent =
nullptr);
59 virtual int type() const Q_DECL_OVERRIDE {
return Type;}
62 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
63 QWidget *widget =
nullptr) Q_DECL_OVERRIDE;
78 virtual
void Disable(
bool disable, const QString &draftBlockName) Q_DECL_OVERRIDE;
91 virtual
void hoverEnterEvent(QGraphicsSceneHoverEvent *event) Q_DECL_OVERRIDE;
92 virtual
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) Q_DECL_OVERRIDE;
93 virtual QString
makeToolTip() const Q_DECL_OVERRIDE;
The VContainer class container of all variables.
The VGObject class keep information graphical objects.