Salome HOME
patch for correct immersible zone color in preview
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_PriorityTableModel.h
index 9133843769deec66b81c69263f3be4624c7aaed7..17dbd802c7809be75c66cedbf71df3d374fb1bce 100644 (file)
@@ -67,6 +67,8 @@ public:
   bool canCreateNewRule() const;
 
   void setColumnCount( int theColumnCount );
+
+  void undoLastChange();
   
 protected:
   bool isUsed( const Handle(HYDROData_Entity)& theObj1, 
@@ -80,6 +82,7 @@ protected:
 
 signals:
   void showError( const QString& theMsg );
+  void ruleChanged();
 
 private:
   const ObjectKind getObjectsKind() const;
@@ -88,7 +91,7 @@ private:
 
   HYDROGUI_Module* myModule;
 
-  HYDROData_ListOfRules myRules;
+  HYDROData_ListOfRules myRules, myPrevRules;
   QList<Handle(HYDROData_Entity)> myObjects;
 
   int myColumnCount;