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 issue #1174
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetSelector.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetSelector.h
b/src/ModuleBase/ModuleBase_WidgetSelector.h
index 2d3796f67361806f73d5a5efb88083f59f89db7c..cb7d76e42ab1ada09ee8def3cacde5cd607ecadc 100755
(executable)
--- a/
src/ModuleBase/ModuleBase_WidgetSelector.h
+++ b/
src/ModuleBase/ModuleBase_WidgetSelector.h
@@
-42,25
+42,21
@@
Q_OBJECT
/// Defines if it is supposed that the widget should interact with the viewer.
virtual bool isViewerSelector() { return true; }
/// Defines if it is supposed that the widget should interact with the viewer.
virtual bool isViewerSelector() { return true; }
+ /// Activate or deactivate selection and selection filters
+ void activateSelectionAndFilters(bool toActivate);
+
/// Checks the widget validity. By default, it returns true.
/// Checks the widget validity. By default, it returns true.
- /// \param the
Value
a selected presentation in the view
+ /// \param the
Prs
a selected presentation in the view
/// \return a boolean value
virtual bool isValidSelectionCustom(const ModuleBase_ViewerPrs& thePrs);
/// Fills the attribute with the value of the selected owner
/// \return a boolean value
virtual bool isValidSelectionCustom(const ModuleBase_ViewerPrs& thePrs);
/// Fills the attribute with the value of the selected owner
- /// \param the
Owner
a selected owner
+ /// \param the
Prs
a selected owner
virtual bool setSelectionCustom(const ModuleBase_ViewerPrs& thePrs);
/// The methiod called when widget is deactivated
virtual void deactivate();
virtual bool setSelectionCustom(const ModuleBase_ViewerPrs& thePrs);
/// The methiod called when widget is deactivated
virtual void deactivate();
- //TODO: nds stabilization hotfix
- virtual void disconnectSignals();
-
-protected:
- /// Activate or deactivate selection
- void activateSelection(bool toActivate);
-
private slots:
/// Slot which is called on selection event
void onSelectionChanged();
private slots:
/// Slot which is called on selection event
void onSelectionChanged();
@@
-69,7
+65,7
@@
protected:
/// Set an empty value to attribute
virtual void clearAttribute() = 0;
/// Set an empty value to attribute
virtual void clearAttribute() = 0;
- // Update focus after the attribute value change
+ //
/
Update focus after the attribute value change
virtual void updateFocus() = 0;
/// Return the attribute values wrapped in a list of viewer presentations
virtual void updateFocus() = 0;
/// Return the attribute values wrapped in a list of viewer presentations