Salome HOME
IPAL19834: Incorrect result after make Partition of 2 objects. A fix by PKV.
[modules/geom.git] / src / BasicGUI / BasicGUI_PointDlg.h
index eb4d1c6f34ce0363e1d741838ffb923d0a2d7fc0..5f36db2e1b351e81bac61cfa1df92432f02b2e2c 100644 (file)
@@ -30,7 +30,9 @@
 
 class DlgRef_1Sel1Spin;
 class DlgRef_3Spin;
+class DlgRef_2Sel;
 class DlgRef_1Sel3Spin;
+class DlgRef_1Sel2Spin;
 
 class QLineEdit;
 class QGroupBox;
@@ -46,8 +48,7 @@ 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();
 
@@ -59,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;
@@ -82,7 +89,6 @@ private:
   
 private slots:
   void                               ClickOnOk();
-  void                               ClickOnCancel();
   bool                               ClickOnApply();
   void                               ActivateThisDialog();
   void                               DeactivateActiveDialog();
@@ -91,6 +97,7 @@ private slots:
   void                               SetEditCurrentArgument();
   void                               ConstructorsClicked( int );
   void                               ValueChangedInSpinBox( double );
+  void                               SetDoubleSpinBoxStep( double );
 };
 
 #endif // BASICGUI_POINTDLG_H