virtual ~PartSet_WidgetSketchLabel();
- virtual bool storeValue() const
- {
- return true;
- }
-
virtual bool restoreValue()
{
return true;
/// \return a control list
virtual QList<QWidget*> getControls() const;
- QWidget* getControl() const;
-
/// The methiod called when widget is deactivated
virtual void deactivate();
/// Returns sketcher plane
std::shared_ptr<GeomAPI_Pln> plane() const;
+ /// This control accepts focus
+ virtual bool focusTo() { return true; }
+
signals:
/// Signal on plane selection
void planeSelected(const std::shared_ptr<GeomAPI_Pln>& thePln);
protected:
+ /// Saves the internal parameters to the given feature
+ /// \return True in success
+ virtual bool storeValueCustom() const
+ {
+ return true;
+ }
+
/// The methiod called when widget is activated
virtual void activateCustom();