Maki
Formally verified low-code orchestration
Toggle main menu visibility
Loading...
Searching...
No Matches
distribute.h
1
#pragma once
2
3
#include <QUndoCommand>
4
5
#include "types.h"
6
7
class
Canvas
;
8
class
QPointF;
9
13
class
DistributeCommand
:
public
QUndoCommand
14
{
15
public
:
23
DistributeCommand
(
Canvas
* canvas,
const
QList<Types::AlignmentNode>& items, QUndoCommand* parent =
nullptr
);
24
28
void
undo
()
override
;
29
33
void
redo
()
override
;
34
35
private
:
36
Canvas
* mCanvas;
37
const
QList<Types::AlignmentNode>
mItems
;
38
};
Canvas
The Canvas class represents the main drawing area for nodes and transitions.
Definition
canvas.h:35
DistributeCommand::undo
void undo() override
Undoes the distribution operation.
Definition
distribute.cpp:14
DistributeCommand::DistributeCommand
DistributeCommand(Canvas *canvas, const QList< Types::AlignmentNode > &items, QUndoCommand *parent=nullptr)
Constructs an AlignCommand object.
Definition
distribute.cpp:6
DistributeCommand::redo
void redo() override
Redoes the distribution operation.
Definition
distribute.cpp:25
DistributeCommand::mItems
const QList< Types::AlignmentNode > mItems
Pointer to the canvas on which the command operates. ///.
Definition
distribute.h:37
Generated for
MAKI
· © 2026 with
Doxygen
1.9.8
GitHub
Research