mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7347 Property Editor : Enable undo/redo of field changed operations
This commit is contained in:
@@ -32,6 +32,7 @@ class PdmUiItem;
|
||||
|
||||
class QMdiArea;
|
||||
class QMdiSubWindow;
|
||||
class QUndoView;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
@@ -94,10 +95,19 @@ protected slots:
|
||||
void slotDockWidgetToggleViewActionTriggered();
|
||||
void slotRefreshHelpActions();
|
||||
|
||||
void slotRedo();
|
||||
void slotUndo();
|
||||
void slotRefreshUndoRedoActions();
|
||||
|
||||
protected:
|
||||
caf::PdmUiTreeView* m_projectTreeView;
|
||||
bool m_allowActiveViewChangeFromSelection; // To be used in selectedObjectsChanged() to control
|
||||
// whether to select the corresponding active view or not
|
||||
|
||||
QAction* m_undoAction;
|
||||
QAction* m_redoAction;
|
||||
QUndoView* m_undoView;
|
||||
|
||||
private:
|
||||
QString registryFolderName();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user