X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetChoice.h;h=412821d2c475ef3865f089b2bda411f99a93cfb5;hb=c8e35a67c60489a46aaf7c8ff75001511ac2635b;hp=3f13cc4afdbfdea772f9190c4835bd14a12515c0;hpb=a2686c838648dcf05659df3c31d9b90aca42b792;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetChoice.h b/src/ModuleBase/ModuleBase_WidgetChoice.h index 3f13cc4af..412821d2c 100644 --- a/src/ModuleBase/ModuleBase_WidgetChoice.h +++ b/src/ModuleBase/ModuleBase_WidgetChoice.h @@ -39,31 +39,24 @@ Q_OBJECT virtual ~ModuleBase_WidgetChoice(); - virtual bool storeValue() const; - 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 getControls() const; +protected: + /// Saves the internal parameters to the given feature + /// \return True in success + virtual bool storeValueCustom() const; + private slots: /// Slot called on combo box index change void onCurrentIndexChanged(int theIndex); private: - /// Container widget - QWidget* myContainer; - /// The label QLabel* myLabel;