Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Set empty text if double value is set in editor
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetChoice.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetChoice.h
b/src/ModuleBase/ModuleBase_WidgetChoice.h
index 3f13cc4afdbfdea772f9190c4835bd14a12515c0..412821d2c475ef3865f089b2bda411f99a93cfb5 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetChoice.h
+++ b/
src/ModuleBase/ModuleBase_WidgetChoice.h
@@
-39,31
+39,24
@@
Q_OBJECT
virtual ~ModuleBase_WidgetChoice();
virtual ~ModuleBase_WidgetChoice();
- virtual bool storeValue() const;
-
virtual bool restoreValue();
virtual bool focusTo();
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;
/// Returns list of widget controls
/// \return a controls list
virtual QList<QWidget*> 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:
private slots:
/// Slot called on combo box index change
void onCurrentIndexChanged(int theIndex);
private:
- /// Container widget
- QWidget* myContainer;
-
/// The label
QLabel* myLabel;
/// The label
QLabel* myLabel;