Salome HOME
PAL9391 - remarks
[modules/visu.git] / src / VISUGUI / VisuGUI_CutPlanesDlg.h
index 19d10b82716ef4fca86e529d5a28428cf205158f..e5ccea9ff9236f6552a37ce07eb502ec0b976382 100644 (file)
@@ -43,6 +43,7 @@
 class QtxDblSpinBox;
 class SUIT_ViewWindow;
 class SUIT_ViewManager;
+class SalomeApp_Module;
 
 
 class VisuGUI_CutPlanesPane : public QFrame
@@ -50,7 +51,7 @@ class VisuGUI_CutPlanesPane : public QFrame
     Q_OBJECT
 
 public:
-    VisuGUI_CutPlanesPane(QWidget* theParent/*, SUIT_ViewManager * theStudy*/);
+    VisuGUI_CutPlanesPane (QWidget* parent);
     ~VisuGUI_CutPlanesPane();
 
     void   setNbPlanes( const int nbp ) {nbPlan->setValue( nbp );}
@@ -85,9 +86,7 @@ private:
     double          Y1, Y2;
     double          Z1, Z2;
     bool hasInit;
-    //SUIT_ViewManager  *myMgr;
 
-    //vector<SALOME_Actor*> myPreviewActors;
     SALOME_Actor* myPreviewActor;
 
 private slots:
@@ -106,8 +105,7 @@ class VisuGUI_CutPlanesDlg : public QDialog
     Q_OBJECT
 
 public:
-    //VisuGUI_CutPlanesDlg(QWidget* parent, bool theIsCreation = true, bool theIsModal = false);
-    VisuGUI_CutPlanesDlg (QWidget* parent, bool theIsCreation = true, bool theIsModal = true);
+    VisuGUI_CutPlanesDlg (SalomeApp_Module* theModule);
     ~VisuGUI_CutPlanesDlg() {};
 
     void initFromPrsObject (VISU::CutPlanes_i* thePrs);
@@ -122,8 +120,6 @@ private:
     VisuGUI_CutPlanesPane* myCutPane;
     VisuGUI_ScalarBarPane* myScalarPane;
     VISU::CutPlanes_i*     myPrs;
-
-    bool myIsCreation;
 };