Engauge Digitizer  2
DlgValidatorAbstract.h
1 #ifndef DLG_VALIDATOR_ABSTRACT_H
2 #define DLG_VALIDATOR_ABSTRACT_H
3 
4 #include <QDoubleValidator>
5 #include <QString>
6 
8 class DlgValidatorAbstract : public QDoubleValidator
9 {
10 public:
12  DlgValidatorAbstract(QObject *parent = 0);
13 
14  virtual ~DlgValidatorAbstract();
15 
17  virtual QValidator::State validate (QString &input,
18  int &pos) const = 0;
19 
20 private:
21 
22 };
23 
24 #endif // DLG_VALIDATOR_ABSTRACT_H
virtual QValidator::State validate(QString &input, int &pos) const =0
Validate according to the numeric format specific to the leaf class.
Abstract validator for all numeric formats.
DlgValidatorAbstract(QObject *parent=0)
Single constructor.