Salome HOME
Fix for bug IPAL18899 : 4x REGRESS: Dump python on the study leads to fatal error...
[modules/geom.git] / src / OperationGUI / OperationGUI_PartitionDlg.h
index 5a95b5d9b837a94473d95445bfa075804efc4468..32f55999ce6cdc78b093f83bb0ffd17c1cbfee20 100644 (file)
@@ -17,7 +17,7 @@
 //  License along with this library; if not, write to the Free Software 
 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
 // 
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 #define DIALOGBOX_PARTITION_H
 
 #include "GEOMBase_Skeleton.h"
-#include "DlgRef_4Sel1List1Check_QTD.h"
+#include "DlgRef_2Sel1List1Check_QTD.h"
 
 //=================================================================================
 // class    : OperationGUI_PartitionDlg
 // purpose  :
 //=================================================================================
 class OperationGUI_PartitionDlg : public GEOMBase_Skeleton
-{ 
+{
     Q_OBJECT
 
 public:
@@ -54,13 +54,11 @@ protected:
     virtual GEOM::GEOM_IOperations_ptr createOperation();
     virtual bool isValid( QString& );
     virtual bool execute( ObjectList& objects );
-
-    virtual void closeEvent( QCloseEvent* e );
+    virtual void restoreSubShapes (SALOMEDS::Study_ptr, SALOMEDS::SObject_ptr);
 
 private:
     void Init();
     void enterEvent(QEvent* e);
-    bool toRemoveWebs() const;
     int GetLimit() const;
 
     GEOM::ListOfGO   myListShapes;
@@ -69,7 +67,7 @@ private:
     GEOM::ListOfGO   myListRemoveInside;
     GEOM::ListOfGO   myListKeepInside;
 
-    DlgRef_4Sel1List1Check_QTD* GroupPoints;
+    DlgRef_2Sel1List1Check_QTD* GroupPoints;
 
 private slots:
     void ClickOnOk();
@@ -79,8 +77,6 @@ private slots:
     void SelectionIntoArgument();
     void SetEditCurrentArgument();
     void ComboTextChanged();
-    void onRemoveWebs(bool);
-    void SetMaterials();
     void ConstructorsClicked(int constructorId);
 };