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
[PythonAPI] Use _fillAttribute() in some sketch functions
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetBoolValue.cpp
diff --git
a/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp
b/src/ModuleBase/ModuleBase_WidgetBoolValue.cpp
index 7d5e2855b374980f097d019acf159c0869bb8121..f260939e540c9a26a2c522e1a48d85322eb5f9d7 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetBoolValue.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetBoolValue.cpp
@@
-1,6
+1,6
@@
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_Widget
s.h
+// File: ModuleBase_Widget
BoolValue.cpp
// Created: 04 June 2014
// Author: Vitaly Smetannikov
// Created: 04 June 2014
// Author: Vitaly Smetannikov
@@
-54,7
+54,7
@@
bool ModuleBase_WidgetBoolValue::storeValueCustom() const
return true;
}
return true;
}
-bool ModuleBase_WidgetBoolValue::restoreValue()
+bool ModuleBase_WidgetBoolValue::restoreValue
Custom
()
{
DataPtr aData = myFeature->data();
std::shared_ptr<ModelAPI_AttributeBoolean> aRef = aData->boolean(attributeID());
{
DataPtr aData = myFeature->data();
std::shared_ptr<ModelAPI_AttributeBoolean> aRef = aData->boolean(attributeID());
@@
-72,3
+72,8
@@
QList<QWidget*> ModuleBase_WidgetBoolValue::getControls() const
aList.append(myCheckBox);
return aList;
}
aList.append(myCheckBox);
return aList;
}
+
+void ModuleBase_WidgetBoolValue::setHighlighted(bool)
+{
+ return;
+}