cherish
|
QUndoCommand that perform addition of a entity::Polygon to entity::UserScene. More...
#include <AddEntityCommand.h>
Public Member Functions | |
AddPolygonCommand (entity::UserScene *scene, entity::Polygon *polygon, QUndoCommand *parent=0) | |
void | undo () Q_DECL_OVERRIDE |
void | redo () Q_DECL_OVERRIDE |
QUndoCommand that perform addition of a entity::Polygon to entity::UserScene.
fur::AddPolygonCommand::AddPolygonCommand | ( | entity::UserScene * | scene, |
entity::Polygon * | polygon, | ||
QUndoCommand * | parent = 0 |
||
) |
scene | is the scene graph to add to, |
polygon | is the entity::Polygon to be added to entity::UserScene, |
parent | is normally 0. |