55 #include <qcompilerdetection.h>
56 #include <QDomElement>
57 #include <QGraphicsItem>
58 #include <QMetaObject>
64 #include "../ifc/xml/vabstractpattern.h"
65 #include "../vmisc/def.h"
81 static VToolNormal *
Create(
const quint32 _id, QString &formula, quint32 firstPointId,
82 quint32
secondPointId,
const QString &typeLine,
const QString &lineWeight,
84 const QString &pointName,
const qreal
angle, qreal mx, qreal my,
bool showPointName,
87 const Source &typeCreation);
89 static QPointF
FindPoint(
const QPointF &firstPoint,
const QPointF &secondPoint,
const qreal &length,
90 const qreal &
angle = 0);
92 virtual int type() const Q_DECL_OVERRIDE {
return Type;}
107 virtual
void SaveDialog(QDomElement &domElement) Q_DECL_OVERRIDE;
119 const QString &lineWeight, const QString &
lineColor,
120 const QString &formula, const qreal &
angle, const quint32 &firstPointId, const quint32 &
secondPointId,
121 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.