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