00001
00002
00003
00004
00005
00006
00007 #ifndef DLG_VALIDATOR_DATE_TIME_H
00008 #define DLG_VALIDATOR_DATE_TIME_H
00009
00010 #include "CoordScale.h"
00011 #include "CoordUnitsNonPolarTheta.h"
00012 #include "CoordUnitsPolarTheta.h"
00013 #include "DlgValidatorAbstract.h"
00014
00016 class DlgValidatorDateTime : public DlgValidatorAbstract
00017 {
00018 public:
00020 DlgValidatorDateTime(CoordScale coordScale,
00021 CoordUnitsDate coordUnitsDate,
00022 CoordUnitsTime coordUnitsTime,
00023 QObject *parent = 0);
00024
00025 virtual QValidator::State validate (QString &input,
00026 int &pos) const;
00027
00028 private:
00029 DlgValidatorDateTime();
00030
00031 const CoordScale m_coordScale;
00032 const CoordUnitsDate m_coordUnitsDate;
00033 const CoordUnitsTime m_coordUnitsTime;
00034 };
00035
00036 #endif // DLG_VALIDATOR_DATE_TIME_H