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 #2602: Check selection with validators before its using.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetEditor.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetEditor.h
b/src/ModuleBase/ModuleBase_WidgetEditor.h
index 809ccd4ec94ee38ed5e66db241608e92179a3f2a..4c485d19974c8543045c5be5a6c38d22b5fecb19 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetEditor.h
+++ b/
src/ModuleBase/ModuleBase_WidgetEditor.h
@@
-68,6
+68,7
@@
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();
@@
-76,10
+77,13
@@
Q_OBJECT
private:
/// Show editor
private:
/// Show editor
+ /// \param theSpinMinValue a minimal value of popup menu spin box
+ /// \param theSpinMaxValue a maximum value of popup menu spin box
/// \param theOutValue a result value
/// \param theOutText a result text
/// \return true if the editor value is accepted
/// \param theOutValue a result value
/// \param theOutText a result text
/// \return true if the editor value is accepted
- bool editedValue(double& theOutValue, QString& theOutText);
+ bool editedValue(double theSpinMinValue, double theSpinMaxValue,
+ double& theOutValue, QString& theOutText);
private:
///< the current widget feature
private:
///< the current widget feature