movecanvascommand.h
Go to the documentation of this file.
void executeSave() override
Save current state of the command for the reverse unExcute()
Definition: movecanvascommand.cpp:19
Definition: movecanvascommand.h:11
views::CanvasNode * m_canvas
Definition: movecanvascommand.h:31
void execute() const override
Execute the command.
Definition: movecanvascommand.cpp:14
Definition: command.h:11
QString infos() const override
Get display info for this command.
Definition: movecanvascommand.cpp:31
void unExcute() const override
Reverse the command.
Definition: movecanvascommand.cpp:26
Definition: api.h:13
Definition: canvasnode.h:13
MoveCanvasCommand(views::CanvasNode *canvas, const QPointF &pos, bool save)
Definition: movecanvascommand.cpp:8