![]() |
VR-Forces 4.0.4 Class Documentation
|

Public Slots | |
| virtual void | moveBackward () |
| Move backward/forward in history. | |
| virtual void | moveForward () |
| virtual void | moveTo (int) |
| Move to history item at index. | |
Public Member Functions | |
| DtEntityEditorHistory (QWidget *p) | |
| virtual void | init (DtEntityEditorList *parent) |
| Creates widgets that are part of this widget. | |
| virtual void | clearHistory () |
| virtual void | addHistoryItem (DtModelSetEntry *, const QMap< QString, QVariant > &state=theEmptyStringVariantMap) |
| Adds an item to the history at the current history index. | |
| virtual void | setUiState (int i, const QMap< QString, QVariant > &) |
| int | count () const |
| int | historyIndex () const |
| virtual void | updateUiSaveState (int i, const DtUiElementEvent &e) |
| Merges in new history save state at particular slot. | |
| virtual QMap< QString, QVariant > | currentUiState () const |
Protected Member Functions | |
| virtual void | updateButtons () |
| Updates button state and tool tip. | |
Protected Attributes | |
| DtEntityEditorList * | myParent |
| QPushButton * | myForward |
| QPushButton * | myBackward |
| QVector< DtHistoryItem > | myHistory |
| int | myHistoryIndex |
| bool | myMoving |
Static Protected Attributes | |
| static const QMap< QString, QVariant > | theEmptyStringVariantMap |
| virtual void DtEntityEditorHistory::init | ( | DtEntityEditorList * | parent | ) | [virtual] |
Creates widgets that are part of this widget.
| virtual void DtEntityEditorHistory::clearHistory | ( | ) | [virtual] |
| virtual void DtEntityEditorHistory::addHistoryItem | ( | DtModelSetEntry * | , |
| const QMap< QString, QVariant > & | state = theEmptyStringVariantMap |
||
| ) | [virtual] |
Adds an item to the history at the current history index.
If the history index is not at the end, all items after the history index will be removed
| virtual void DtEntityEditorHistory::setUiState | ( | int | i, |
| const QMap< QString, QVariant > & | |||
| ) | [virtual] |
| int DtEntityEditorHistory::count | ( | ) | const [inline] |
| int DtEntityEditorHistory::historyIndex | ( | ) | const [inline] |
| virtual void DtEntityEditorHistory::updateUiSaveState | ( | int | i, |
| const DtUiElementEvent & | e | ||
| ) | [virtual] |
Merges in new history save state at particular slot.
| virtual QMap<QString, QVariant> DtEntityEditorHistory::currentUiState | ( | ) | const [virtual] |
| virtual void DtEntityEditorHistory::moveBackward | ( | ) | [virtual, slot] |
Move backward/forward in history.
| virtual void DtEntityEditorHistory::moveForward | ( | ) | [virtual, slot] |
| virtual void DtEntityEditorHistory::moveTo | ( | int | ) | [virtual, slot] |
Move to history item at index.
| virtual void DtEntityEditorHistory::updateButtons | ( | ) | [protected, virtual] |
Updates button state and tool tip.
const QMap<QString, QVariant> DtEntityEditorHistory::theEmptyStringVariantMap [static, protected] |
DtEntityEditorList* DtEntityEditorHistory::myParent [protected] |
QPushButton* DtEntityEditorHistory::myForward [protected] |
QPushButton* DtEntityEditorHistory::myBackward [protected] |
QVector<DtHistoryItem> DtEntityEditorHistory::myHistory [protected] |
int DtEntityEditorHistory::myHistoryIndex [protected] |
bool DtEntityEditorHistory::myMoving [protected] |