Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.h
index 0fa5c18f0372ca342b139a377c9a8ea5a94e4ffc..1189dd2286ce32c64c8699f6793b89a27fdb7246 100644 (file)
@@ -57,8 +57,6 @@ Q_OBJECT
   /// \return a control list
   virtual QList<QWidget*> getControls() const;
 
-  QWidget* getControl() const;
-
   /// The methiod called when widget is deactivated
   virtual void deactivate();
 
@@ -72,6 +70,9 @@ Q_OBJECT
   /// 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);
@@ -79,7 +80,7 @@ signals:
 protected:
   /// Saves the internal parameters to the given feature
   /// \return True in success
-  virtual bool storeValue() const
+  virtual bool storeValueCustom() const
   {
     return true;
   }