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
Fix for the issue #910: never fully remove the results, just make them disabled when...
[modules/shaper.git]
/
src
/
PartSet
/
PartSet_WidgetSketchLabel.h
diff --git
a/src/PartSet/PartSet_WidgetSketchLabel.h
b/src/PartSet/PartSet_WidgetSketchLabel.h
index 3eddeb2d2c52a910b48e6e03a3e716586bbc0dbf..2bc8d85d682d04865b9e815d9adbdced64400b2f 100644
(file)
--- a/
src/PartSet/PartSet_WidgetSketchLabel.h
+++ b/
src/PartSet/PartSet_WidgetSketchLabel.h
@@
-56,11
+56,6
@@
Q_OBJECT
virtual bool setSelection(QList<ModuleBase_ViewerPrs>& theValues,
const bool theToValidate);
virtual bool setSelection(QList<ModuleBase_ViewerPrs>& theValues,
const bool theToValidate);
- virtual bool restoreValue()
- {
- return true;
- }
-
/// Returns list of widget controls
/// \return a control list
virtual QList<QWidget*> getControls() const;
/// Returns list of widget controls
/// \return a control list
virtual QList<QWidget*> getControls() const;
@@
-107,9
+102,18
@@
protected:
return true;
}
return true;
}
+ virtual bool restoreValueCustom()
+ {
+ return true;
+ }
+
/// The methiod called when widget is activated
virtual void activateCustom();
/// The methiod called when widget is activated
virtual void activateCustom();
+ /// Erase preview planes, disconnect widget, change the view projection
+ /// \param thePrs a selected presentation
+ void updateByPlaneSelected(const ModuleBase_ViewerPrs& thePrs);
+
protected:
/// Activate or deactivate selection
void activateSelection(bool toActivate);
protected:
/// Activate or deactivate selection
void activateSelection(bool toActivate);