21 const QLocale &locale,
37 value) == QValidator::Acceptable);
46 value) == QValidator::Acceptable);
51 value = locale.toDouble (
string);
55 qCCritical(ENGAUGE_LOG) <<
"FormatCoordsUnitsStrategyNonPolarTheta::formattedToFormatted";
64 const QLocale &locale,
71 double valueUnformattedOther)
const
75 const char FORMAT (
'g');
77 QString valueFormatted;
100 valueFormatted = locale.toString (valueUnformatted,
103 valueUnformattedOther,
110 qCCritical(ENGAUGE_LOG) <<
"FormatCoordsUnitsStrategyNonPolarTheta::unformattedToFormatted";
115 return valueFormatted;
@ COORD_UNITS_NON_POLAR_THETA_DEGREES_MINUTES_SECONDS
@ COORD_UNITS_NON_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW
@ COORD_UNITS_NON_POLAR_THETA_NUMBER
@ COORD_UNITS_NON_POLAR_THETA_DATE_TIME
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT.
Model for DlgSettingsGeneral and CmdSettingsGeneral.