|
Maki
Formally verfied low-code orchestration
|
Forward declaration of QPointF class. More...
#include <add_transition.h>
Public Member Functions | |
| AddTransitionCommand (Canvas *canvas, const TransitionSaveInfo &desc, QUndoCommand *parent=nullptr) | |
| Constructs an AddTransitionCommand object. | |
| void | undo () override |
| Undoes the addition of the transition. | |
| void | redo () override |
| Redoes the addition of the transition. | |
Private Attributes | |
| const TransitionSaveInfo | mDesc |
| Pointer to the canvas where the transition is added. | |
Forward declaration of QPointF class.
Command to add a transition in the canvas.
| AddTransitionCommand::AddTransitionCommand | ( | Canvas * | canvas, |
| const TransitionSaveInfo & | desc, | ||
| QUndoCommand * | parent = nullptr ) |
Constructs an AddTransitionCommand object.
| canvas | Pointer to the canvas where the transition will be added. |
| desc | Description of the transition to be added. |
| parent | Parent command for undo/redo functionality. |