Started adding undo/redo framework.

This commit is contained in:
Jim Evins
2016-04-29 23:51:01 -04:00
parent 231dc66c0d
commit 61c41d8ba9
9 changed files with 445 additions and 13 deletions
+5 -1
View File
@@ -37,6 +37,7 @@ class QScrollArea;
// Forward References
class LabelModel;
class UndoRedoModel;
class PropertiesView;
class LabelEditor;
class ObjectEditor;
@@ -148,6 +149,7 @@ private slots:
void onModifiedChanged();
void onSelectionChanged();
void onLabelChanged();
void onUndoRedoChanged();
/////////////////////////////////////
@@ -204,9 +206,11 @@ private:
QToolBar* fileToolBar;
QToolBar* editorToolBar;
LabelModel* mModel;
UndoRedoModel* mUndoRedoModel;
QListWidget* mContents;
QStackedWidget* mPages;
LabelModel* mModel;
PropertiesView* mPropertiesView;
QScrollArea* mLabelEditorScrollArea;
LabelEditor* mLabelEditor;