Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
DlgValidatorDateTime.h
1 #ifndef DLG_VALIDATOR_DATE_TIME_H
2 #define DLG_VALIDATOR_DATE_TIME_H
3 
4 #include "CoordScale.h"
5 #include "CoordUnitsNonPolarTheta.h"
6 #include "CoordUnitsPolarTheta.h"
7 #include "DlgValidatorAbstract.h"
8 
11 {
12 public:
14  DlgValidatorDateTime(CoordScale coordScale,
15  CoordUnitsDate coordUnitsDate,
16  CoordUnitsTime coordUnitsTime,
17  QObject *parent = 0);
18 
19  virtual QValidator::State validate (QString &input,
20  int &pos) const;
21 
22 private:
24 
25  const CoordScale m_coordScale;
26  const CoordUnitsDate m_coordUnitsDate;
27  const CoordUnitsTime m_coordUnitsTime;
28 };
29 
30 #endif // DLG_VALIDATOR_DATE_TIME_H
virtual QValidator::State validate(QString &input, int &pos) const
Validate according to the numeric format specific to the leaf class.
Validator for numeric value expressed as date and/or time.
Abstract validator for all numeric formats.