55 #include <qcompilerdetection.h>
56 #include <QGraphicsItem>
57 #include <QMetaObject>
62 #include "../../../toolcurve/vabstractspline.h"
63 #include "../ifc/xml/vabstractpattern.h"
64 #include "../vtoolsinglepoint.h"
65 #include "../vmisc/def.h"
66 #include "../../../../vdatatool.h"
67 #include "../../../../../visualization/visualization.h"
76 const quint32 &
curveCutId, QGraphicsItem * parent =
nullptr);
78 virtual int type() const Q_DECL_OVERRIDE {
return Type;}
90 virtual void Disable(
bool disable,
const QString &draftBlockName) Q_DECL_OVERRIDE;
91 virtual void piecesMode(
bool mode) Q_DECL_OVERRIDE;
104 template <typename T>
112 template <typename T>
119 AddVisualization<T>();
124 if (T *visual = qobject_cast<T *>(
vis))
136 if (
VAbstractSpline *parentCurve = qobject_cast<VAbstractSpline *>(parent))
static VDataTool * getTool(quint32 id)
getTool return tool from tool list.
The VContainer class container of all variables.