A custom class for creating a undo model. More...
#include <aiundomodel.hpp>
Public Member Functions | |
| AiUndoModel (QObject *parent=0) | |
| contructor with optional parent | |
| QUndoStack * | getStack () const |
| void | setStack (QUndoStack *stack) |
| virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| virtual QModelIndex | parent (const QModelIndex &child) const |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| QModelIndex | selectedIndex () const |
| void | setStackCurrentIndex (const QModelIndex &index) |
Private Slots | |
| void | stackChanged () |
Private Attributes | |
| QUndoStack * | m_stack |
A custom class for creating a undo model.
Definition at line 56 of file aiundomodel.hpp.
1.6.1