|
Maki
Formally verfied low-code orchestration
|
Forward declaration of QPointF class. More...
#include <remove_node.h>
Public Member Functions | |
| RemoveNodeCommand (Canvas *canvas, const NodeSaveInfo &desc, 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 | |
| const NodeSaveInfo | mDesc |
| Pointer to the canvas where the node is located. | |
Forward declaration of QPointF class.
Command to remove a node from the canvas.
| RemoveNodeCommand::RemoveNodeCommand | ( | Canvas * | canvas, |
| const NodeSaveInfo & | desc, | ||
| 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. |