Undo/Redo action for setting item data.
More...
#include <FdCommandsCoa.hpp>
Detailed Description
Undo/Redo action for setting item data.
The QUndoCommand manages data change for the item mItem at column mColumn. In order to be undoable/redoable, the old value is stored in mOldValue and the new one in mNewValue.
Definition at line 80 of file FdCommandsCoa.hpp.
Constructor & Destructor Documentation
FdCoaSetData::FdCoaSetData |
( |
FdModelCoa * |
coa, |
|
|
FdItemCoa_p |
item, |
|
|
CoaColumn |
column, |
|
|
QVariant |
newValue |
|
) |
| |
Member Function Documentation
void FdCoaSetData::redo |
( |
| ) |
|
void FdCoaSetData::undo |
( |
| ) |
|
Member Data Documentation
CoaColumn FdCoaSetData::mColumn |
|
private |
FdItemCoa_p FdCoaSetData::mItem |
|
private |
QVariant FdCoaSetData::mNewValue |
|
private |
QVariant FdCoaSetData::mOldValue |
|
private |
The documentation for this class was generated from the following files: