Maki
Formally verfied low-code orchestration
Loading...
Searching...
No Matches
AddTransitionCommand Class Reference

Forward declaration of QPointF class. More...

#include <add_transition.h>

Inheritance diagram for AddTransitionCommand:

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.

Detailed Description

Forward declaration of QPointF class.

Command to add a transition in the canvas.

Constructor & Destructor Documentation

◆ AddTransitionCommand()

AddTransitionCommand::AddTransitionCommand ( Canvas * canvas,
const TransitionSaveInfo & desc,
QUndoCommand * parent = nullptr )

Constructs an AddTransitionCommand object.

Parameters
canvasPointer to the canvas where the transition will be added.
descDescription of the transition to be added.
parentParent command for undo/redo functionality.

The documentation for this class was generated from the following files:
  • /__w/maki/maki/app/system/undo_commands/add_transition.h
  • /__w/maki/maki/app/system/undo_commands/add_transition.cpp