52 #ifndef VTOOLLINEPOINT_H
53 #define VTOOLLINEPOINT_H
55 #include <qcompilerdetection.h>
56 #include <QGraphicsItem>
57 #include <QMetaObject>
62 #include "../vpatterndb/vformula.h"
63 #include "../vtoolsinglepoint.h"
64 #include "../vmisc/def.h"
76 const QString &lineType,
const QString &lineWeight,
77 const QString &
lineColor,
const QString &formula,
78 const quint32 &
basePointId,
const qreal &
angle, QGraphicsItem * parent =
nullptr);
81 virtual int type() const Q_DECL_OVERRIDE {
return Type;}
84 virtual void paint(QPainter *painter,
const QStyleOptionGraphicsItem *option,
85 QWidget *widget =
nullptr) Q_DECL_OVERRIDE;
102 virtual
void Disable(
bool disable, const QString &draftBlockName) Q_DECL_OVERRIDE;
115 virtual
void hoverEnterEvent(QGraphicsSceneHoverEvent *event) Q_DECL_OVERRIDE;
116 virtual
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) Q_DECL_OVERRIDE;
117 virtual QString
makeToolTip() const Q_DECL_OVERRIDE;
The VContainer class container of all variables.
The VGObject class keep information graphical objects.