virtual void stepBy(int);
virtual double valueFromText(const QString&) const;
+ virtual QString textFromValue (double value) const;
virtual QValidator::State validate(QString&, int&) const;
virtual void showEvent(QShowEvent*);
protected slots:
- void onEditingFinished();
void onTextChanged(const QString&);
private:
void connectSignalsAndSlots();
private:
- QString myCorrectValue;
QString myTextValue;
bool myAcceptVariables;