|
|
| NodeSaveInfo () |
| | Constructs a new NodeSaveInfo object.
|
| QString | getid () const override |
| | Gets the ID of the node.
|
| QString | getnodeId () const override |
| | Gets the node ID.
|
| QPointF | getposition () const override |
| | Gets the position of the node.
|
| QVector< std::shared_ptr< IParameter > > | getfields () const override |
| | Gets the fields of the node.
|
| QVector< std::shared_ptr< IParameter > > | getproperties () const override |
| | Gets the properties of the node.
|
| QVector< std::shared_ptr< IFlow > > | getflows () const override |
| | Gets the flows of the node.
|
| QVector< std::shared_ptr< IFlow > > | getevents () const override |
| | Gets the events of the node.
|
| QString | getparentId () const override |
| | Gets the parent ID of the node.
|
| QVector< std::shared_ptr< INode > > | getchildren () const override |
| | Gets the children of the node.
|
| qreal | getScale () const |
| | Gets the scale of the node.
|
| QSizeF | getSize () const |
| | Gets the size of the node.
|
| QPixmap | getPixmap () const |
| | Gets the pixmap of the node.
|
| QString | getIcon () const |
| | Gets the icon path of the node.
|
| void | setId (const QString &arg) |
| | Sets the ID of the node.
|
| void | setNodeId (const QString &arg) |
| | Sets the node ID.
|
| void | setParentId (const QString &arg) |
| | Sets the parent ID of the node.
|
| void | setPosition (const QPointF &arg) |
| | Sets the position of the node.
|
| void | setPixmap (const QPixmap &arg) |
| | Sets the pixmap of the node.
|
| void | setIcon (const QString &iconPath) |
| | Sets the icon path of the node.
|
| void | setSize (const QSizeF &arg) |
| | Sets the size of the node.
|
| void | setScale (qreal arg) |
| | Sets the scale of the node.
|
| const PropertyInfo * | getProperty (const QString &key) const |
| | Gets a property by key.
|
| void | addProperty (std::shared_ptr< PropertyInfo > parameter) |
| | Adds a property to the node.
|
| void | removeProperty (const QString &key) |
| | Removes a property from the node.
|
| PropertyInfo | getField (const QString &key) const |
| | Gets a field by key.
|
| void | setField (const QString &key, std::shared_ptr< IParameter > property) |
| | Sets a field for the node.
|
| void | addField (std::shared_ptr< IParameter > property) |
| | Adds a field to the node.
|
| void | removeField (const QString &key) |
| | Removes a field from the node.
|
| void | addFlow (std::shared_ptr< IFlow > flow) |
| | Adds a flow to the node.
|
| void | removeFlow (std::shared_ptr< IFlow > flow) |
| | Removes a flow from the node by reference.
|
| void | removeFlow (const QString &flowId) |
| | Removes a flow from the node by ID.
|
| void | addEvent (std::shared_ptr< IFlow > event) |
| | Adds a flow to the node.
|
| void | removeEvent (std::shared_ptr< IFlow > event) |
| | Removes a flow from the node by reference.
|
| void | addChild (std::shared_ptr< INode > child) |
| | Adds a child to the node.
|
| void | removeChild (const QString &childId) |
| | Removes a child from the node by ID.
|
|
void | clearChildren () |
| | Clears all children from the node.
|
| QJsonObject | toJson () const |
| | Converts the node to a JSON object.
|
|
|
QString | mNodeId |
| | The ID of the node.
|
|
QString | mParentId |
| | The node ID.
|
|
QPointF | mPosition |
| | The parent ID of the node.
|
|
QSizeF | mSize |
| | The position of the node.
|
|
qreal | mScale |
| | The size of the node.
|
|
QPixmap | mPixmap |
| | The scale of the node.
|
|
QString | mIconPath |
| | The pixmap of the node.
|
|
QVector< std::shared_ptr< IParameter > > | mProperties |
| | The icon path of the node.
|
|
QVector< std::shared_ptr< INode > > | mChildren |
| | A vector of properties for the node.
|
|
QVector< std::shared_ptr< IFlow > > | mFlows |
| | A vector of children nodes.
|
|
QVector< std::shared_ptr< IFlow > > | mEvents |
| | A vector of flows associated with the node.
|
|
QVector< std::shared_ptr< ITransition > > | mTransitions |
| | A vector of flows associated with the node.
|
|
QVector< std::shared_ptr< IParameter > > | mFields |
| | A vector of transitions for the node.
|
Represents a node that can be saved and loaded.