]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Workshop.h
Salome HOME
History for undo and redo commands
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index 80aa6d2f8358d405b313f1a48f18a8b770feae1f..23990f8bc9354130723298b8ac84b95a8becd787 100644 (file)
@@ -215,10 +215,16 @@ signals:
   //! the application is started
   void applicationStarted();
 
+  void updateUndoHistory(const QList<QAction*>&);
+  void updateRedoHistory(const QList<QAction*>&);
+
  public slots:
    /// Update of commands status
   void updateCommandStatus();
 
+  /// update history list (undo/redo commands)
+  void updateHistory();
+
   /// Create a new dokument
   void onNew();
 
@@ -235,10 +241,10 @@ signals:
   void onExit();
 
   /// Undo last command
-  void onUndo();
+  void onUndo(int times = 1);
 
   /// Redo previous command
-  void onRedo();
+  void onRedo(int times = 1);
 
   /// Rebuild data tree
   void onRebuild();