54 #include <QSharedPointer>
55 #include <QStaticStringData>
56 #include <QStringData>
57 #include <QStringDataPtr>
61 #include "../../undocommands/adddetnode.h"
62 #include "../ifc/ifcdef.h"
63 #include "../ifc/xml/vabstractpattern.h"
64 #include "../vgeometry/vgobject.h"
65 #include "../vmisc/vabstractapplication.h"
66 #include "../vmisc/def.h"
67 #include "../vpatterndb/vcontainer.h"
68 #include "../vabstracttool.h"
83 const QString &blockName,
const quint32 &idTool, QObject *parent)
88 , m_blockName(blockName)
117 if (domElement.isElement())
144 if (domElement.isElement())
203 qApp->getUndoStack()->push(addNode);
virtual void HideNode()=0
static const QString AttrIdTool
quint32 idTool
idTool id tool.
void SetExluded(bool exluded)
ParentType GetParentType() const
virtual void ShowVisualization(bool show) Q_DECL_OVERRIDE
VAbstractNode(VAbstractPattern *doc, VContainer *data, const quint32 &id, const quint32 &idNode, const QString &blockName=QString(), const quint32 &idTool=0, QObject *parent=nullptr)
VAbstractNode constructor.
virtual void incrementReferens() Q_DECL_OVERRIDE
incrementReferens increment referens.
virtual void ShowNode()=0
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 SetParentType(const ParentType &value)
virtual void GroupVisibility(quint32 object, bool visible) Q_DECL_OVERRIDE
virtual void decrementReferens() Q_DECL_OVERRIDE
decrementReferens decrement reference for all parent objects.
virtual void IncrementReferens(quint32 id) const =0
virtual void DecrementReferens(quint32 id) const =0
The VContainer class container of all variables.
const QSharedPointer< VGObject > GetGObject(quint32 id) const
GetGObject returns a point by id.
QDomElement elementById(quint32 id, const QString &tagName=QString())
static void SetParametrUsage(QDomElement &domElement, const QString &name, const NodeUsage &value)