|
Maki
Formally verfied low-code orchestration
|
Forward declaration of QPointF class. More...
#include <batch_remove.h>
Public Member Functions | |
| BatchRemoveCommand (Canvas *canvas, const QVector< NodeSaveInfo > &nodes, const QVector< TransitionSaveInfo > &transitions, QUndoCommand *parent=nullptr) | |
| Constructs a RemoveNodeCommand object. | |
| void | undo () override |
| Undoes the removal of a node from the canvas. | |
| void | redo () override |
| Redoes the removal of a node from the canvas. | |
Private Attributes | |
| QVector< NodeSaveInfo > | mNodes |
| Pointer to the canvas where the node is located. | |
Forward declaration of QPointF class.
Command to remove a node from the canvas.
| BatchRemoveCommand::BatchRemoveCommand | ( | Canvas * | canvas, |
| const QVector< NodeSaveInfo > & | nodes, | ||
| const QVector< TransitionSaveInfo > & | transitions, | ||
| QUndoCommand * | parent = nullptr ) |
Constructs a RemoveNodeCommand object.
| canvas | Pointer to the canvas where the node is located. |
| desc | Description of the node to be removed. |
| parent | Parent command for undo/redo functionality. |