24 #ifndef SCIENTIFICDOUBLESPINBOX_H 25 #define SCIENTIFICDOUBLESPINBOX_H 27 #include <tulip/tulipconf.h> 29 #include <QDoubleSpinBox> 44 State validate(QString &input,
int &pos)
const override;
46 void fixup(QString &text)
const override;
59 QValidator::State validate(QString &input,
int &pos)
const override;
61 void fixup(QString &input)
const override;
63 double valueFromText(
const QString &text)
const override;
65 QString textFromValue(
double value)
const override;
67 void stepBy(
int steps)
override;
71 #endif // SCIENTIFICDOUBLESPINBOX_H Utility class implementing a QDoubleSpinBox supporting scientific notation.
Utility class used to validate that a QString contains a valid representation of a floating point num...