54 #include <QDomElement>
55 #include <QStaticStringData>
56 #include <QStringData>
57 #include <QStringDataPtr>
59 #include "../ifc/xml/vdomdocument.h"
60 #include "../ifc/ifcdef.h"
61 #include "../vabstracttool.h"
62 #include "../vdatatool.h"
79 const QString &blockName,
const quint32 &idTool, QObject *qoParent)
80 :
VAbstractNode(doc, data, id, idArc, blockName, idTool, qoParent)
97 const Document &parse,
const Source &typeCreation,
const QString &blockName,
const quint32 &idTool)
110 arc->setParent(tool);
The VAbstractNode class parent class for all detail node.
static const QString AttrIdTool
quint32 idTool
idTool id tool.
quint32 idNode
idNodenode id.
virtual void ToolCreation(const Source &typeCreation) Q_DECL_OVERRIDE
void AddToModeling(const QDomElement &domElement)
AddToModeling add tag to modeling tag current pattern peace.
void AddToolOnRemove(VDataTool *tool)
virtual void UpdateToolData(const quint32 &id, VContainer *data)=0
static const QString TagArc
static void AddTool(quint32 id, VDataTool *tool)
AddTool add tool to list tools.
static VDataTool * getTool(quint32 id)
getTool return tool from tool list.
The VContainer class container of all variables.
void SetAttribute(QDomElement &domElement, const QString &name, const T &value) const
SetAttribute set attribute in pattern file. Replace "," by ".".
static const QString AttrId
The VNodeArc class arc detail node.
virtual void AllowSelecting(bool enabled) Q_DECL_OVERRIDE
VNodeArc(VAbstractPattern *doc, VContainer *data, quint32 id, quint32 idArc, const Source &typeCreation, const QString &blockName=QString(), const quint32 &idTool=0, QObject *qoParent=nullptr)
VNodeArc constructor.
static void Create(VAbstractPattern *doc, VContainer *data, quint32 id, quint32 idArc, const Document &parse, const Source &typeCreation, const QString &blockName=QString(), const quint32 &idTool=0)
Create help create tool.
virtual void AllowHover(bool enabled) Q_DECL_OVERRIDE
static const QString ToolType
virtual QString getTagName() const Q_DECL_OVERRIDE
virtual void AddToFile() Q_DECL_OVERRIDE
AddToFile add tag with Information about tool into file.
const QString AttrIdObject