]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/BooleanGUI/BooleanGUI_Dialog.h
Salome HOME
Porting to Qt4.
[modules/geom.git] / src / BooleanGUI / BooleanGUI_Dialog.h
index 70f6c4b7528c6ec001aec5a2f1b326f1403ca5b8..71fa365285e60f3c01e6e26b71d0552ad4a3787b 100644 (file)
 //  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.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 //
 //
 //  File   : BooleanGUI_Dialog.h
 //  Author : Lucien PIGNOLONI
 //  Module : GEOM
-//  $Header$
 
 #ifndef BooleanGUI_Dialog_H
 #define BooleanGUI_Dialog_H
 
-#include "GEOMBase_Skeleton.h"
+#include "BooleanGUI.h" //for wnt defines
 
-class DlgRef_2Sel_QTD;
+#include "GEOMBase_Skeleton.h"
+#include "DlgRef_2Sel_QTD.h"
 
 //=================================================================================
 // class    : BooleanGUI_Dialog
 // purpose  :
 //=================================================================================
-class BooleanGUI_Dialog : public GEOMBase_Skeleton
+class GEOM_BOOLEANGUI_EXPORT BooleanGUI_Dialog : public GEOMBase_Skeleton
 {
     Q_OBJECT
 
 public:
-    BooleanGUI_Dialog( const int theOperation, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0);
+    BooleanGUI_Dialog( const int theOperation, GeometryGUI* theGeometryGUI, QWidget* parent = 0,
+                      const char* name = 0, bool modal = FALSE, Qt::WindowFlags fl = 0);
     ~BooleanGUI_Dialog();
 
 protected:
@@ -60,7 +61,7 @@ private:
     GEOM::GEOM_Object_var myObject1;
     GEOM::GEOM_Object_var myObject2;
 
-    DlgRef_2Sel_QTD* myGroup;
+    Ui::DlgRef_2Sel_QTD* myGroup;
 
 private slots:
     void ClickOnOk();
@@ -69,7 +70,6 @@ private slots:
     void SelectionIntoArgument();
     void LineEditReturnPressed();
     void ActivateThisDialog();
-
 };
 
 #endif // BooleanGUI_Dialog_H