#include <QRegExp>
#include <string>
+#include <iostream>
/*!
\class ModuleBase_ParamSpinBox
*/
void ModuleBase_ParamSpinBox::connectSignalsAndSlots()
{
- connect(this, SIGNAL(editingFinished()),
- this, SLOT(onEditingFinished()));
-
connect(this, SIGNAL(valueChanged(const QString&)),
this, SLOT(onTextChanged(const QString&)));
// this, SIGNAL(textChanged(const QString&)));
}
-/*!
- \brief This function is called when editing is finished.
- */
-void ModuleBase_ParamSpinBox::onEditingFinished()
-{
- if (myTextValue.isNull())
- myTextValue = text();
-
- setText(myTextValue);
-}
-
/*!
\brief This function is called when value is changed.
*/