Salome HOME
IPAL19834: Incorrect result after make Partition of 2 objects. A fix by PKV.
[modules/geom.git] / src / BasicGUI / BasicGUI_PointDlg.h
index 8e264fa63fe4b4265314322b97107b52a18b3a4b..5f36db2e1b351e81bac61cfa1df92432f02b2e2c 100644 (file)
 #ifndef BASICGUI_POINTDLG_H
 #define BASICGUI_POINTDLG_H
 
-#include "GEOM_BasicGUI.hxx"
-
 #include <GEOMBase_Skeleton.h>
 
 class DlgRef_1Sel1Spin;
 class DlgRef_3Spin;
+class DlgRef_2Sel;
 class DlgRef_1Sel3Spin;
+class DlgRef_1Sel2Spin;
 
 class QLineEdit;
 class QGroupBox;
@@ -43,13 +43,12 @@ class gp_Pnt;
 // class    : BasicGUI_PointDlg
 // purpose  :
 //=================================================================================
-class BASICGUI_EXPORT BasicGUI_PointDlg : public GEOMBase_Skeleton
+class BasicGUI_PointDlg : public GEOMBase_Skeleton
 { 
   Q_OBJECT
 
 public:
-  BasicGUI_PointDlg( GeometryGUI*, QWidget* = 0,
-                    const char* = 0, bool = false, Qt::WindowFlags = 0 );
+  BasicGUI_PointDlg( GeometryGUI*, QWidget* = 0, bool = false, Qt::WindowFlags = 0 );
 
   ~BasicGUI_PointDlg();
 
@@ -61,21 +60,27 @@ protected:
   virtual GEOM::GEOM_IOperations_ptr createOperation();
   virtual bool                       isValid( QString& );
   virtual bool                       execute( ObjectList& );
-  
-  virtual void                       closeEvent( QCloseEvent* );
+  virtual void                       addSubshapesToStudy();
 
 private:
   void                               Init();
   void                               enterEvent( QEvent* );
   double                             getParameter() const;
+  double                             getUParameter() const;
+  double                             getVParameter() const;
 
 private:
   GEOM::GEOM_Object_var              myEdge;
+  GEOM::GEOM_Object_var              myFace;
   GEOM::GEOM_Object_var              myRefPoint; 
+  GEOM::GEOM_Object_var              myLine1; 
+  GEOM::GEOM_Object_var              myLine2;
   
   DlgRef_3Spin*                      GroupXYZ;
   DlgRef_1Sel3Spin*                  GroupRefPoint;
   DlgRef_1Sel1Spin*                  GroupOnCurve;
+  DlgRef_2Sel*                       GroupLineIntersection;
+  DlgRef_1Sel2Spin*                  GroupOnSurface;
   
   QGroupBox*                         myCoordGrp;
   QLineEdit*                         myX;
@@ -84,7 +89,6 @@ private:
   
 private slots:
   void                               ClickOnOk();
-  void                               ClickOnCancel();
   bool                               ClickOnApply();
   void                               ActivateThisDialog();
   void                               DeactivateActiveDialog();
@@ -93,6 +97,7 @@ private slots:
   void                               SetEditCurrentArgument();
   void                               ConstructorsClicked( int );
   void                               ValueChangedInSpinBox( double );
+  void                               SetDoubleSpinBoxStep( double );
 };
 
 #endif // BASICGUI_POINTDLG_H