|
Maki
Formally verified low-code orchestration
|
Position type used for alignment calculations. More...
#include <distribute.h>
Public Member Functions | |
| DistributeCommand (Canvas *canvas, const QList< Types::AlignmentNode > &items, QUndoCommand *parent=nullptr) | |
| Constructs an AlignCommand object. | |
| void | undo () override |
| Undoes the distribution operation. | |
| void | redo () override |
| Redoes the distribution operation. | |
Private Attributes | |
| const QList< Types::AlignmentNode > | mItems |
| Pointer to the canvas on which the command operates. ///. | |
Position type used for alignment calculations.
Command class for aligning items on a canvas.
| DistributeCommand::DistributeCommand | ( | Canvas * | canvas, |
| const QList< Types::AlignmentNode > & | items, | ||
| QUndoCommand * | parent = nullptr ) |
Constructs an AlignCommand object.
| canvas | Pointer to the canvas where the alignment will occur. |
| items | List of alignment nodes to be aligned. |
| parent | Parent undo command for grouping. |
|
private |
Pointer to the canvas on which the command operates. ///.