9#include <QDoubleValidator>
30 if (state == QValidator::Acceptable) {
33 if (m_locale.toDouble (
input) < 0.0) {
36 state = QValidator::Invalid;
38 }
if (m_locale.toDouble (
input) == 0.0) {
41 state = QValidator::Intermediate;
const int INNER_RADIUS_MIN
log4cpp::Category * mainCat
Abstract validator for all numeric formats.
virtual QValidator::State validate(QString &input, int &pos) const =0
Validate according to the numeric format specific to the leaf class.
DlgValidatorNumber(CoordScale coordScale, const QLocale &locale, QObject *parent=0)
Single constructor.
virtual QValidator::State validate(QString &input, int &pos) const
Apply the standard validation with 0 as the exclusive minimum. Call setCoordScale just before calling...
#define LOG4CPP_INFO_S(logger)