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