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

Forward declaration of QPointF class. More...

#include <batch_remove.h>

Inheritance diagram for BatchRemoveCommand:

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.

Detailed Description

Forward declaration of QPointF class.

Command to remove a node from the canvas.

Constructor & Destructor Documentation

◆ BatchRemoveCommand()

BatchRemoveCommand::BatchRemoveCommand ( Canvas * canvas,
const QVector< NodeSaveInfo > & nodes,
const QVector< TransitionSaveInfo > & transitions,
QUndoCommand * parent = nullptr )

Constructs a RemoveNodeCommand object.

Parameters
canvasPointer to the canvas where the node is located.
descDescription of the node to be removed.
parentParent command for undo/redo functionality.

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