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
Optimize the flushing: this improvement speed ups the unit test for 3-4 times
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetIntValue.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetIntValue.h
b/src/ModuleBase/ModuleBase_WidgetIntValue.h
index b795bc1c8122b6bfaefa123e32eb2871323551f5..255e716035b009b31f9403eb45e8371320dbff52 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetIntValue.h
+++ b/
src/ModuleBase/ModuleBase_WidgetIntValue.h
@@
-38,11
+38,7
@@
Q_OBJECT
virtual ~ModuleBase_WidgetIntValue();
/// Fills the widget with default values
virtual ~ModuleBase_WidgetIntValue();
/// Fills the widget with default values
- virtual void reset();
-
- //! Read value of corresponded attribute from data model to the input control
- // \return True in success
- virtual bool restoreValue();
+ virtual bool reset();
/// Returns list of widget controls
/// \return a control list
/// Returns list of widget controls
/// \return a control list
@@
-54,6
+50,10
@@
protected:
/// \return True in success
virtual bool storeValueCustom() const;
/// \return True in success
virtual bool storeValueCustom() const;
+ //! Read value of corresponded attribute from data model to the input control
+ // \return True in success
+ virtual bool restoreValueCustom();
+
protected:
/// Label of the widget
QLabel* myLabel;
protected:
/// Label of the widget
QLabel* myLabel;