X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetEditor.h;h=4c485d19974c8543045c5be5a6c38d22b5fecb19;hb=b3025c793455da0df5d0fe83455a7f45c64e885e;hp=c8177d56a5bd09032f130746a97d52d136ca6e17;hpb=b3695c3af5289903f1c0fa01bbb7c40203c5e544;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetEditor.h b/src/ModuleBase/ModuleBase_WidgetEditor.h index c8177d56a..4c485d199 100644 --- 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); +protected: /// 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