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;
Model for DlgSettingsGeneral and CmdSettingsGeneral.
#define LOG4CPP_ERROR_S(logger)
log4cpp::Category * mainCat
#define ENGAUGE_ASSERT(cond)
Drop in replacement for Q_ASSERT if defined(QT_NO_DEBUG) && !defined(QT_FORCE_ASSERTS) define ENGAUGE...