- ///< Set the point selection mode. Emit signal about focus change if necessary.
- /// \param theMode a new selection mode
- /// \param isToEmitSignal the neccessity to emit signal
- //void setPointSelectionMode(const PartSet_SelectionMode& theMode,
- // const bool isToEmitSignal = true);
-
- /// Returns true if the active widget is the point selector widget
- /// \return the boolean value
- bool isPointWidget() const;
-
- /// Set the point to the active widget
- /// \param theX the horizontal coordinate
- /// \param theY the vertical coordinate
- /// \return true if the point is set
- bool setWidgetPoint(double theX, double theY);
-
- /// Set the feature to the active widget
- /// \param theFeature a feature
- /// \return true if the feature is set
- bool setWidgetFeature(const FeaturePtr& theFeature);
-
-private:
- //boost::shared_ptr<PartSet_FeaturePrs> myFeaturePrs; ///< the feature presentation
- FeaturePtr myInitFeature; ///< the initial feature
- FeaturePtr mySketch; ///< the sketch of the feature
- //PartSet_SelectionMode myPointSelectionMode; ///< point selection mode
-
- ModuleBase_ModelWidget* myActiveWidget; ///< the active widget