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
Merge remote-tracking branch 'remotes/origin/EDF_2020_Lot2'
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_WidgetEditor.h
diff --git
a/src/ModuleBase/ModuleBase_WidgetEditor.h
b/src/ModuleBase/ModuleBase_WidgetEditor.h
index 809ccd4ec94ee38ed5e66db241608e92179a3f2a..ad421a8f8560a51415a74f6860cfe03afb97ff53 100644
(file)
--- a/
src/ModuleBase/ModuleBase_WidgetEditor.h
+++ b/
src/ModuleBase/ModuleBase_WidgetEditor.h
@@
-1,4
+1,4
@@
-// Copyright (C) 2014-20
17
CEA/DEN, EDF R&D
+// Copyright (C) 2014-20
20
CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-12,10
+12,9
@@
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA
//
//
-// See http://www.salome-platform.org/ or
-// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
#ifndef ModuleBase_WidgetEditor_H
//
#ifndef ModuleBase_WidgetEditor_H
@@
-68,6
+67,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
+76,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