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
Update SketchPlugin_Projection feature (issue #1459)
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetBoolValue.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetBoolValue.h
b/src/ModuleBase/ModuleBase_WidgetBoolValue.h
index 082e54eecec51e43e3dd96443960b4981484053f..237460ec7fc38390a528b7fb942bdf717dae70ca 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetBoolValue.h
+++ b/
src/ModuleBase/ModuleBase_WidgetBoolValue.h
@@
-29,6
+29,8
@@
Q_OBJECT
virtual ~ModuleBase_WidgetBoolValue();
virtual ~ModuleBase_WidgetBoolValue();
+ virtual bool canAcceptFocus() const { return false; };
+
virtual QList<QWidget*> getControls() const;
virtual void setHighlighted(bool isHighlighted);
virtual QList<QWidget*> getControls() const;
virtual void setHighlighted(bool isHighlighted);
@@
-36,7
+38,7
@@
Q_OBJECT
protected:
/// Saves the internal parameters to the given feature
/// \return True in success
protected:
/// Saves the internal parameters to the given feature
/// \return True in success
- virtual bool storeValueCustom()
const
;
+ virtual bool storeValueCustom();
virtual bool restoreValueCustom();
virtual bool restoreValueCustom();