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
Issue#1059: Consider operation state in selection validator
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Displayer.h
diff --git
a/src/XGUI/XGUI_Displayer.h
b/src/XGUI/XGUI_Displayer.h
index b189189f6b3428d610e4d625717cfe9b3eaf0eb0..3cd6f9c73d5934e52b435e0b7468e23a97c83815 100644
(file)
--- a/
src/XGUI/XGUI_Displayer.h
+++ b/
src/XGUI/XGUI_Displayer.h
@@
-141,6
+141,8
@@
class XGUI_EXPORT XGUI_Displayer: public QObject
/// \param isEnabled a boolean value
bool enableUpdateViewer(const bool isEnabled);
/// \param isEnabled a boolean value
bool enableUpdateViewer(const bool isEnabled);
+ bool isUpdateEnabled() const { return myEnableUpdateViewer; }
+
/// Updates the viewer
void updateViewer() const;
/// Updates the viewer
void updateViewer() const;
@@
-307,7
+309,10
@@
private:
QIntList myActiveSelectionModes;
/// the enable update viewer flag
QIntList myActiveSelectionModes;
/// the enable update viewer flag
- bool myEnableUpdateViewer;
+ bool myEnableUpdateViewer;
+
+ /// A flag that update was requested but not done
+ mutable bool myNeedUpdate;
};
#endif
};
#endif