|
cherish
|
QUndoCommand that performs deletion of a photo. More...
#include <EditEntityCommand.h>
Public Member Functions | |
| EditPhotoDeleteCommand (entity::UserScene *scene, entity::Canvas *canvas, entity::Photo *photo, QUndoCommand *parent=0) | |
| void | undo () Q_DECL_OVERRIDE |
| void | redo () Q_DECL_OVERRIDE |
Protected Attributes | |
| osg::observer_ptr< entity::UserScene > | m_scene |
| osg::observer_ptr< entity::Canvas > | m_canvas |
| osg::ref_ptr< entity::Photo > | m_photo |
| osg::observer_ptr< entity::Bookmarks > | m_bookmarks |
QUndoCommand that performs deletion of a photo.
| fur::EditPhotoDeleteCommand::EditPhotoDeleteCommand | ( | entity::UserScene * | scene, |
| entity::Canvas * | canvas, | ||
| entity::Photo * | photo, | ||
| QUndoCommand * | parent = 0 |
||
| ) |
| scene | is the scene graph to edit, |
| canvas | is a canvas to delete from, |
| photo | is a photo to delete, |
| parent | is normally 0. |
1.8.12