X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_DoubleSpinBox.cpp;h=a8489408dc6bec240b76ccaf602e7552d6523ac5;hb=af851100774c4ff33b515c884abe0cd03c3f0528;hp=683d215784bcc3c130cad428f52b80677fed506b;hpb=3874b57fe5aba25ff5aee2a07654fc23c1ee8eb0;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_DoubleSpinBox.cpp b/src/ModuleBase/ModuleBase_DoubleSpinBox.cpp index 683d21578..a8489408d 100644 --- a/src/ModuleBase/ModuleBase_DoubleSpinBox.cpp +++ b/src/ModuleBase/ModuleBase_DoubleSpinBox.cpp @@ -52,10 +52,11 @@ const double PSEUDO_ZERO = 1.e-20; a step value of 1.0 and a precision of 2 decimal places. The value is initially set to 0.00. - \param parent parent object + \param theParent parent object + \param thePrecision precision of values input */ -ModuleBase_DoubleSpinBox::ModuleBase_DoubleSpinBox(QWidget* parent, int thePrecision) - : QDoubleSpinBox(parent), +ModuleBase_DoubleSpinBox::ModuleBase_DoubleSpinBox(QWidget* theParent, int thePrecision) + : QDoubleSpinBox(theParent), myCleared(false) { // VSR 01/07/2010: Disable thousands separator for spin box @@ -165,7 +166,7 @@ QString ModuleBase_DoubleSpinBox::textFromValue(double val) const /*! \brief Return source string with removed leading and trailing zeros. - \param str source string + \param src source string \return resulting string */ QString ModuleBase_DoubleSpinBox::removeTrailingZeroes(const QString& src) const @@ -300,9 +301,8 @@ QValidator::State ModuleBase_DoubleSpinBox::validate(QString& str, int& pos) con /*! \brief Called when user enters the text in the spin box. - \param txt current spin box text (not used) */ -void ModuleBase_DoubleSpinBox::onTextChanged(const QString& /*txt*/) +void ModuleBase_DoubleSpinBox::onTextChanged(const QString& ) { myCleared = false; }