00001
00002
00003
00004
00005
00006
00007 #ifndef DLG_VALIDATOR_FACTORY_H
00008 #define DLG_VALIDATOR_FACTORY_H
00009
00010 #include "CoordScale.h"
00011 #include "CoordUnitsNonPolarTheta.h"
00012 #include "CoordUnitsPolarTheta.h"
00013
00014 class DlgValidatorAbstract;
00015 class QLocale;
00016
00018 class DlgValidatorFactory
00019 {
00020 public:
00022 DlgValidatorFactory();
00023
00025 DlgValidatorAbstract *createCartesianOrPolarWithNonPolarPolar (CoordScale coordScale,
00026 bool isCartesian,
00027 CoordUnitsNonPolarTheta coordUnitsCartesian,
00028 CoordUnitsNonPolarTheta coordUnitsPolar,
00029 CoordUnitsDate coordUnitsDate,
00030 CoordUnitsTime coordUnitsTime,
00031 const QLocale &locale) const;
00032
00034 DlgValidatorAbstract *createCartesianOrPolarWithPolarPolar (CoordScale coordScale,
00035 bool isCartesian,
00036 CoordUnitsNonPolarTheta coordUnitsCartesian,
00037 CoordUnitsPolarTheta coordUnitsPolar,
00038 CoordUnitsDate coordUnitsDate,
00039 CoordUnitsTime coordUnitsTime,
00040 const QLocale &locale) const;
00041
00043 DlgValidatorAbstract *createWithNonPolar (CoordScale coordScale,
00044 CoordUnitsNonPolarTheta coordUnits,
00045 CoordUnitsDate coordUnitsDate,
00046 CoordUnitsTime coordUnitsTime,
00047 const QLocale &locale) const;
00048
00050 DlgValidatorAbstract *createWithPolar (CoordScale coordScale,
00051 CoordUnitsPolarTheta coordUnits,
00052 const QLocale &locale) const;
00053 };
00054
00055 #endif // DLG_VALIDATOR_FACTORY_H