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
Provide preselection of Line and Point for Distance
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetBoolValue.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetBoolValue.h
b/src/ModuleBase/ModuleBase_WidgetBoolValue.h
index 6f32ef3ef87183b2961ead0fb7389d444a4a77c9..9d0246c1156fa3b3043c85001e6706ca6b9d8ad2 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetBoolValue.h
+++ b/
src/ModuleBase/ModuleBase_WidgetBoolValue.h
@@
-12,22
+12,23
@@
class Config_WidgetAPI;
class QWidget;
class QCheckBox;
class QWidget;
class QCheckBox;
-class MODULEBASE_EXPORT ModuleBase_WidgetBoolValue: public ModuleBase_ModelWidget
+class MODULEBASE_EXPORT ModuleBase_WidgetBoolValue
: public ModuleBase_ModelWidget
{
{
-
Q_OBJECT
-public:
+Q_OBJECT
+
public:
/// Constructor
/// \theParent the parent object
/// \theData the widget configuation. The attribute of the model widget is obtained from
/// Constructor
/// \theParent the parent object
/// \theData the widget configuation. The attribute of the model widget is obtained from
- ModuleBase_WidgetBoolValue(QWidget* theParent, const Config_WidgetAPI* theData);
+ ModuleBase_WidgetBoolValue(QWidget* theParent, const Config_WidgetAPI* theData,
+ const std::string& theParentId);
virtual ~ModuleBase_WidgetBoolValue();
/// Saves the internal parameters to the given feature
virtual ~ModuleBase_WidgetBoolValue();
/// Saves the internal parameters to the given feature
- /// \param the
Feature
a model feature to be changed
- virtual bool storeValue(
FeaturePtr theFeature
) const;
+ /// \param the
Object
a model feature to be changed
+ virtual bool storeValue() const;
- virtual bool restoreValue(
FeaturePtr theFeature
);
+ virtual bool restoreValue();
/// Returns list of widget controls
/// \return a control list
/// Returns list of widget controls
/// \return a control list
@@
-37,8
+38,8
@@
public:
/// \returns the widget
QWidget* getControl() const;
/// \returns the widget
QWidget* getControl() const;
-private:
+
private:
QCheckBox* myCheckBox;
};
QCheckBox* myCheckBox;
};
-#endif
\ No newline at end of file
+#endif