cherish
|
QUndoCommand that performs separation of a canvas and addition of it to entity::UserScene. More...
#include <AddEntityCommand.h>
Public Member Functions | |
AddCanvasSeparationCommand (entity::UserScene *scene, entity::Canvas *source, entity::Canvas *copy, QUndoCommand *parent=0) | |
void | undo () Q_DECL_OVERRIDE |
void | redo () Q_DECL_OVERRIDE |
QUndoCommand that performs separation of a canvas and addition of it to entity::UserScene.
fur::AddCanvasSeparationCommand::AddCanvasSeparationCommand | ( | entity::UserScene * | scene, |
entity::Canvas * | source, | ||
entity::Canvas * | copy, | ||
QUndoCommand * | parent = 0 |
||
) |
scene | is the scene graph to add to, |
source | is the canvas source from which separation will occur, |
copy | is the destination canvas parameters, |
parent | is normally 0. |