00001
00002
00003
00004
00005
00006
00007 #ifndef DLG_VALIDATOR_ABOVE_ZERO_H
00008 #define DLG_VALIDATOR_ABOVE_ZERO_H
00009
00010 #include "DlgValidatorAbstract.h"
00011 #include <QLocale>
00012
00014 class DlgValidatorAboveZero : public DlgValidatorAbstract
00015 {
00016 public:
00018 DlgValidatorAboveZero(const QLocale &locale,
00019 QObject *parent = 0);
00020
00022 virtual QValidator::State validate (QString &input,
00023 int &pos) const;
00024
00025 private:
00026 DlgValidatorAboveZero();
00027
00028 const QLocale m_locale;
00029 };
00030
00031 #endif // DLG_VALIDATOR_ABOVE_ZERO_H