X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBasicGUI%2FBasicGUI_PointDlg.h;h=5f36db2e1b351e81bac61cfa1df92432f02b2e2c;hb=b568e7744737ad193de8a49b27a5769a4777d7fd;hp=8e264fa63fe4b4265314322b97107b52a18b3a4b;hpb=496cc5f9ba9ea7ae0e2adc8960a697839c145c20;p=modules%2Fgeom.git diff --git a/src/BasicGUI/BasicGUI_PointDlg.h b/src/BasicGUI/BasicGUI_PointDlg.h index 8e264fa63..5f36db2e1 100644 --- a/src/BasicGUI/BasicGUI_PointDlg.h +++ b/src/BasicGUI/BasicGUI_PointDlg.h @@ -26,13 +26,13 @@ #ifndef BASICGUI_POINTDLG_H #define BASICGUI_POINTDLG_H -#include "GEOM_BasicGUI.hxx" - #include 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