55 #include <qcompilerdetection.h>
56 #include <QDomElement>
57 #include <QGraphicsItem>
58 #include <QGraphicsLineItem>
59 #include <QMetaObject>
65 #include "../ifc/xml/vabstractpattern.h"
66 #include "../vmisc/def.h"
83 const QString &typeLine,
const QString &lineWeight,
86 const Source &typeCreation);
88 virtual int type() const Q_DECL_OVERRIDE {
return Type;}
90 virtual QString
getTagName() const Q_DECL_OVERRIDE;
92 virtual
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
93 QWidget *widget =
nullptr) Q_DECL_OVERRIDE;
109 virtual
void setLineType(const QString &value) Q_DECL_OVERRIDE;
112 virtual
void GroupVisibility(quint32
object,
bool visible) Q_DECL_OVERRIDE;
116 virtual
void ShowTool(quint32
id,
bool enable) Q_DECL_OVERRIDE;
117 virtual
void Disable(
bool disable, const QString &draftBlockName) Q_DECL_OVERRIDE;
118 virtual
void AllowHover(
bool enabled) Q_DECL_OVERRIDE;
125 virtual
void contextMenuEvent(QGraphicsSceneContextMenuEvent * event ) override;
126 virtual
void AddToFile() Q_DECL_OVERRIDE;
127 virtual
void hoverEnterEvent(QGraphicsSceneHoverEvent * event ) Q_DECL_OVERRIDE;
128 virtual
void hoverLeaveEvent(QGraphicsSceneHoverEvent * event ) Q_DECL_OVERRIDE;
130 virtual QVariant
itemChange(GraphicsItemChange change, const QVariant &value ) Q_DECL_OVERRIDE;
132 virtual
void SaveDialog(QDomElement &domElement) Q_DECL_OVERRIDE;
136 virtual QString
makeToolTip() const Q_DECL_OVERRIDE;
153 quint32
secondPoint, const QString &typeLine, const QString &lineWeight,
155 const
Source &typeCreation, QGraphicsItem * parent =
nullptr);
The VContainer class container of all variables.
The VGObject class keep information graphical objects.
The VMainGraphicsScene class main scene.