00001
00002
00003
00004
00005
00006
00007 #ifndef FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H
00008 #define FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H
00009
00010 #include "CoordUnitsPolarTheta.h"
00011 #include "FormatCoordsUnitsStrategyAbstractBase.h"
00012 #include <QString>
00013
00014 class QLocale;
00015 class Transformation;
00016
00018 class FormatCoordsUnitsStrategyPolarTheta : public FormatCoordsUnitsStrategyAbstractBase {
00019 public:
00021 FormatCoordsUnitsStrategyPolarTheta();
00022
00024 double formattedToUnformatted (const QString &string,
00025 const QLocale &locale,
00026 CoordUnitsPolarTheta coordUnits) const;
00027
00029 QString unformattedToFormatted (double valueUnformatted,
00030 const QLocale &locale,
00031 CoordUnitsPolarTheta coordUnits,
00032 const Transformation &transformation,
00033 double valueUnformattedOther) const;
00034 };
00035
00036 #endif // FORMAT_COORDS_UNITS_STRATEGY_POLAR_THETA_H