cherish
Public Member Functions | List of all members
fur::AddCanvasSeparationCommand Class Reference

QUndoCommand that performs separation of a canvas and addition of it to entity::UserScene. More...

#include <AddEntityCommand.h>

Inheritance diagram for fur::AddCanvasSeparationCommand:

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
 

Detailed Description

QUndoCommand that performs separation of a canvas and addition of it to entity::UserScene.

Constructor & Destructor Documentation

§ AddCanvasSeparationCommand()

fur::AddCanvasSeparationCommand::AddCanvasSeparationCommand ( entity::UserScene scene,
entity::Canvas source,
entity::Canvas copy,
QUndoCommand *  parent = 0 
)
Parameters
sceneis the scene graph to add to,
sourceis the canvas source from which separation will occur,
copyis the destination canvas parameters,
parentis normally 0.

The documentation for this class was generated from the following files: