- // redefined from GEOMBase_Helper
- virtual GEOM::GEOM_IOperations_ptr createOperation();
- virtual bool isValid( QString& );
- virtual bool execute( ObjectList& objects );
- virtual void addSubshapesToStudy();
- virtual void closeEvent( QCloseEvent* e );
-
-private :
- void Init();
- void enterEvent(QEvent* e);
- double getParameter() const;
-
- GEOM::GEOM_Object_var myEdge;
- 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_QTD* GroupLineIntersection;
-
- QGroupBox* myCoordGrp;
- QLineEdit* myX;
- QLineEdit* myY;
- QLineEdit* myZ;
+ // redefined from GEOMBase_Helper
+ virtual GEOM::GEOM_IOperations_ptr createOperation();
+ virtual bool isValid( QString& );
+ virtual bool execute( ObjectList& );
+ virtual void addSubshapesToStudy();
+
+private:
+ void Init();
+ void enterEvent( QEvent* );
+ double getParameter() const;
+ double getUParameter() const;
+ double getVParameter() const;
+ void updateParamCoord(bool theIsUpdate);
+
+private:
+ GEOM::GeomObjPtr myEdge;
+ GEOM::GeomObjPtr myFace;
+ GEOM::GeomObjPtr myRefPoint;
+ GEOM::GeomObjPtr myLine1;
+ GEOM::GeomObjPtr myLine2;
+
+ bool myBusy;
+
+ DlgRef_3Spin* GroupXYZ;
+ DlgRef_1Sel3Spin* GroupRefPoint;
+ DlgRef_2Sel1Spin* GroupOnCurve;
+ DlgRef_2Sel* GroupLineIntersection;
+ DlgRef_1Sel2Spin* GroupOnSurface;
+
+ QGroupBox* myCoordGrp;
+ QLineEdit* myX;
+ QLineEdit* myY;
+ QLineEdit* myZ;
+
+ QGroupBox* myParamGroup;
+ QButtonGroup* myParamCoord;
+
+ QMenu* myBtnPopup;
+ QMap<QAction*, int> myActions;