|
svcore
1.9
|
Command to change the image for a point. More...
#include <ImageModel.h>


Public Member Functions | |
| ChangeImageCommand (ImageModel *model, const ImagePoint &point, QString newImage, QString newLabel) | |
| virtual QString | getName () const |
| virtual void | execute () |
| virtual void | unexecute () |
Private Attributes | |
| ImageModel * | m_model |
| ImagePoint | m_oldPoint |
| ImagePoint | m_newPoint |
Command to change the image for a point.
Definition at line 112 of file ImageModel.h.
|
inline |
Definition at line 115 of file ImageModel.h.
References ImagePoint::image, ImagePoint::label, and m_newPoint.
|
inlinevirtual |
Implements Command.
Definition at line 124 of file ImageModel.h.
|
inlinevirtual |
Implements Command.
Definition at line 126 of file ImageModel.h.
References SparseModel< PointType >::addPoint(), SparseModel< PointType >::deletePoint(), m_model, m_newPoint, and m_oldPoint.
Referenced by unexecute().
|
inlinevirtual |
|
private |
Definition at line 135 of file ImageModel.h.
Referenced by execute().
|
private |
Definition at line 136 of file ImageModel.h.
Referenced by execute().
|
private |
Definition at line 137 of file ImageModel.h.
Referenced by ChangeImageCommand(), and execute().