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

Forward declaration of QPointF class. More...

#include <remove_transition.h>

Inheritance diagram for RemoveTransitionCommand:

Public Member Functions

 RemoveTransitionCommand (Canvas *canvas, const TransitionSaveInfo &desc, QUndoCommand *parent=nullptr)
 Constructs a new RemoveTransitionCommand object.
void undo () override
 Undoes the removal of the transition.
void redo () override
 Redoes the removal of the transition.

Private Attributes

const TransitionSaveInfo mDesc
 Pointer to the canvas where the transition is located.

Detailed Description

Forward declaration of QPointF class.

Command to remove a transition in the canvas.

Constructor & Destructor Documentation

◆ RemoveTransitionCommand()

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

Constructs a new RemoveTransitionCommand object.

Parameters
canvasPointer to the canvas where the transition is located.
descTransition save information.
parentParent undo command.

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