X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_OperationFeatureBase.h;h=ee290dd44cbfdffe130c7ecfefcfd7328c176a2f;hb=d29ed3f3f7c0e119d2917b2d4120aa7b473220f4;hp=cde5fb6756674e736437cfc49e2bb817d5ccc6db;hpb=979ad873ba8ebe5ec3c8e6eae08f359b94768766;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationFeatureBase.h b/src/PartSet/PartSet_OperationFeatureBase.h index cde5fb675..ee290dd44 100644 --- a/src/PartSet/PartSet_OperationFeatureBase.h +++ b/src/PartSet/PartSet_OperationFeatureBase.h @@ -45,14 +45,16 @@ Q_OBJECT virtual void mouseReleased(QMouseEvent* theEvent, ModuleBase_IViewer* theViewer, ModuleBase_ISelection* theSelection); - protected: - /// Set value to the active widget - /// \param theFeature the feature + /// Return a widget value point by the selection and the viewer position + /// \param thePrs the presentation + /// \param theViewer a viewer to have the viewer the eye position /// \param theX the horizontal coordinate /// \param theY the vertical coordinate - /// \return true if the point is set - //bool setWidgetValue(ObjectPtr theFeature, double theX, double theY); + /// \return true if the point exits in the selection + virtual bool getViewerPoint(ModuleBase_ViewerPrs thePrs, + ModuleBase_IViewer* theViewer, + double& theX, double& theY); protected: CompositeFeaturePtr mySketch; ///< the sketch of the feature