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 #2428: Do not activate name widget on start of the operation
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetEditor.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetEditor.h
b/src/ModuleBase/ModuleBase_WidgetEditor.h
index c8177d56a5bd09032f130746a97d52d136ca6e17..4c485d19974c8543045c5be5a6c38d22b5fecb19 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetEditor.h
+++ b/
src/ModuleBase/ModuleBase_WidgetEditor.h
@@
-68,9
+68,13
@@
Q_OBJECT
/// \param theY the Y coordinate
void setCursorPosition(const int theX, const int theY);
/// \param theY the Y coordinate
void setCursorPosition(const int theX, const int theY);
+protected:
/// Returns true if the event is processed.
virtual bool processEnter();
/// Returns true if the event is processed.
virtual bool processEnter();
+ /// Reject the current editor dialog if it is shown and returns true.
+ virtual bool processEscape();
+
private:
/// Show editor
/// \param theSpinMinValue a minimal value of popup menu spin box
private:
/// Show editor
/// \param theSpinMinValue a minimal value of popup menu spin box