19 const QLocale &locale,
34 value) == QValidator::Acceptable);
41 value = locale.toDouble (
string);
45 LOG4CPP_ERROR_S ((*
mainCat)) <<
"FormatCoordsUnitsStrategyPolarTheta::unformattedToFormattedStrategyPolarTheta";
54 const QLocale &locale,
58 double valueUnformattedOther)
const
62 const char FORMAT (
'g');
65 QString valueFormatted;
83 valueFormatted = locale.toString (valueUnformatted,
86 valueUnformattedOther,
93 LOG4CPP_ERROR_S ((*
mainCat)) <<
"FormatCoordsUnitsStrategyPolarTheta::unformattedToFormattedStrategyPolarTheta";
98 return valueFormatted;
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS_NSEW
@ COORD_UNITS_POLAR_THETA_TURNS
@ COORD_UNITS_POLAR_THETA_RADIANS
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES
@ COORD_UNITS_POLAR_THETA_DEGREES
@ COORD_UNITS_POLAR_THETA_DEGREES_MINUTES_SECONDS
@ COORD_UNITS_POLAR_THETA_GRADIANS
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT.
log4cpp::Category * mainCat
Model for DlgSettingsGeneral and CmdSettingsGeneral.
#define LOG4CPP_ERROR_S(logger)