Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
DlgValidatorDegreesMinutesSeconds.h
1 #ifndef DLG_VALIDATOR_DEGREES_MINUTES_SECONDS_H
2 #define DLG_VALIDATOR_DEGREES_MINUTES_SECONDS_H
3 
4 #include "CoordScale.h"
5 #include "CoordUnitsNonPolarTheta.h"
6 #include "CoordUnitsPolarTheta.h"
7 #include "DlgValidatorAbstract.h"
8 
12 {
13 public:
15  DlgValidatorDegreesMinutesSeconds(CoordScale coordScale,
16  QObject *parent = 0);
17 
18  virtual QValidator::State validate (QString &input,
19  int &pos) const;
20 
21 private:
23 
24  const CoordScale m_coordScale;
25 };
26 
27 #endif // DLG_VALIDATOR_DEGREES_MINUTES_SECONDS_H
Abstract validator for all numeric formats.
Validator for angles in real degrees, integer degrees and real minutes, or integer degrees with integ...
virtual QValidator::State validate(QString &input, int &pos) const
Validate according to the numeric format specific to the leaf class.