9#include <QDoubleValidator>
28 if (state == QValidator::Acceptable) {
30 if (m_locale.toDouble (
input) <= 0.0) {
33 state = QValidator::Invalid;
const int INNER_RADIUS_MIN
log4cpp::Category * mainCat
virtual QValidator::State validate(QString &input, int &pos) const
Apply the standard validation with 0 as the exclusive minimum. Call setCoordScale just before calling...
DlgValidatorAboveZero(const QLocale &locale, QObject *parent=0)
Single constructor.
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.
#define LOG4CPP_INFO_S(logger)