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

QUndoCommand that perform addition of a entity::Polygon to entity::UserScene. More...

#include <AddEntityCommand.h>

Inheritance diagram for fur::AddPolygonCommand:

Public Member Functions

 AddPolygonCommand (entity::UserScene *scene, entity::Polygon *polygon, QUndoCommand *parent=0)
 
void undo () Q_DECL_OVERRIDE
 
void redo () Q_DECL_OVERRIDE
 

Detailed Description

QUndoCommand that perform addition of a entity::Polygon to entity::UserScene.

Constructor & Destructor Documentation

§ AddPolygonCommand()

fur::AddPolygonCommand::AddPolygonCommand ( entity::UserScene scene,
entity::Polygon polygon,
QUndoCommand *  parent = 0 
)
Parameters
sceneis the scene graph to add to,
polygonis the entity::Polygon to be added to entity::UserScene,
parentis normally 0.

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