Engauge Digitizer 2
|
Format conversions between unformatted and formatted for CoordUnitsNonPolarTheta. More...
#include <FormatCoordsUnitsStrategyNonPolarTheta.h>
Public Member Functions | |
FormatCoordsUnitsStrategyNonPolarTheta () | |
Single constructor. | |
double | formattedToUnformatted (const QString &string, const QLocale &locale, CoordUnitsNonPolarTheta coordUnits, CoordUnitsDate coordUnitsDate, CoordUnitsTime coordUnitsTime) const |
Convert formatted string to simple unformatted number. | |
QString | unformattedToFormatted (double valueUnformatted, const QLocale &locale, CoordUnitsNonPolarTheta coordUnits, CoordUnitsDate coordUnitsDate, CoordUnitsTime coordUnitsTime, bool isXTheta, const DocumentModelGeneral &modelGeneral, const Transformation &transformation, double valueUnformattedOther) const |
Convert simple unformatted number to formatted string. | |
![]() | |
FormatCoordsUnitsStrategyAbstractBase () | |
Single constructor. | |
Additional Inherited Members | |
![]() | |
int | precisionDigitsForRawNumber (double valueUnformatted, double valueUnformattedOther, bool isXTheta, const DocumentModelGeneral &modelGeneral, const Transformation &transformation) const |
Compute precision for outputting an unformatted value, consistent with the resolution at the point where that point lies. | |
Format conversions between unformatted and formatted for CoordUnitsNonPolarTheta.
Definition at line 21 of file FormatCoordsUnitsStrategyNonPolarTheta.h.
FormatCoordsUnitsStrategyNonPolarTheta::FormatCoordsUnitsStrategyNonPolarTheta | ( | ) |
Single constructor.
Definition at line 16 of file FormatCoordsUnitsStrategyNonPolarTheta.cpp.
double FormatCoordsUnitsStrategyNonPolarTheta::formattedToUnformatted | ( | const QString & | string, |
const QLocale & | locale, | ||
CoordUnitsNonPolarTheta | coordUnits, | ||
CoordUnitsDate | coordUnitsDate, | ||
CoordUnitsTime | coordUnitsTime ) const |
Convert formatted string to simple unformatted number.
Definition at line 20 of file FormatCoordsUnitsStrategyNonPolarTheta.cpp.
QString FormatCoordsUnitsStrategyNonPolarTheta::unformattedToFormatted | ( | double | valueUnformatted, |
const QLocale & | locale, | ||
CoordUnitsNonPolarTheta | coordUnits, | ||
CoordUnitsDate | coordUnitsDate, | ||
CoordUnitsTime | coordUnitsTime, | ||
bool | isXTheta, | ||
const DocumentModelGeneral & | modelGeneral, | ||
const Transformation & | transformation, | ||
double | valueUnformattedOther ) const |
Convert simple unformatted number to formatted string.
Definition at line 63 of file FormatCoordsUnitsStrategyNonPolarTheta.cpp.