Salome HOME
Issue #1042 Sometimes when setting distance constraints, the input field is not displ...
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetChoice.h
index 18fcb55bdadc55c6550681cd89f2685a5709afc7..72f6df4cd2e15eebbe100559cd7b8e4d6f7ba0d8 100644 (file)
@@ -39,17 +39,8 @@ Q_OBJECT
 
   virtual ~ModuleBase_WidgetChoice();
   
-  virtual bool restoreValue();
-
   virtual bool focusTo();
 
-  /// Returns the internal parent wiget control, that can be shown anywhere
-  /// \returns the widget
-  QWidget* getControl() const
-  {
-    return myContainer;
-  }
-
   /// Returns list of widget controls
   /// \return a controls list
   virtual QList<QWidget*> getControls() const;
@@ -57,16 +48,15 @@ Q_OBJECT
 protected:
   /// Saves the internal parameters to the given feature
   /// \return True in success
-  virtual bool storeValue() const;
+  virtual bool storeValueCustom() const;
+
+  virtual bool restoreValueCustom();
 
 private slots:
   /// Slot called on combo box index change
   void onCurrentIndexChanged(int theIndex);
 
 private:
-  /// Container widget
-  QWidget* myContainer;
-
   /// The label
   QLabel* myLabel;