A custom class for creating undo command. More...
#include <aicommand.hpp>
Public Member Functions | |
AiCommand (QImage &img, AiView *view, QUndoCommand *parent=0) | |
contructor with optional parent | |
int | id () const |
get command ID | |
void | id (int id) |
set command ID | |
void | undo () |
undo action | |
void | redo () |
redo action | |
Public Attributes | |
QImage | image |
stored image | |
Private Attributes | |
int | m_id |
command ID | |
AiView * | m_view |
main view |
A custom class for creating undo command.
Definition at line 63 of file aicommand.hpp.