Extended undo/redo framework into ObjectEditor.

This commit is contained in:
Jim Evins
2016-04-30 20:48:57 -04:00
parent ec26cbb07a
commit ec85e2c0ef
4 changed files with 28 additions and 8 deletions
+6 -4
View File
@@ -24,9 +24,10 @@
#include "ui_ObjectEditor.h"
#include "libglabels/Distance.h"
class LabelModel; // Forward reference
class LabelModelObject; // Forward reference
// Forward references
class LabelModel;
class LabelModelObject;
class UndoRedoModel;
///
@@ -47,7 +48,7 @@ public:
/////////////////////////////////
// Public methods
/////////////////////////////////
void setModel( LabelModel* model );
void setModel( LabelModel* model, UndoRedoModel* undoRedoModel );
/////////////////////////////////
@@ -85,6 +86,7 @@ private slots:
private:
LabelModel* mModel;
LabelModelObject* mObject;
UndoRedoModel* mUndoRedoModel;
glabels::Units mUnits;
int mSpinDigits;