Functions | |
MRVIEWER_API void | resetToDefaults () |
MRVIEWER_API bool | getShowLeadingZero () |
MRVIEWER_API void | setShowLeadingZero (bool show) |
MRVIEWER_API char | getThousandsSeparator () |
void | setThousandsSeparator (char ch) |
MRVIEWER_API std::optional< LengthUnit > | getUiLengthUnit () |
MRVIEWER_API void | setUiLengthUnit (std::optional< LengthUnit > unit, bool setPreferredLeadingZero) |
MRVIEWER_API DegreesMode | getDegreesMode () |
MRVIEWER_API void | setDegreesMode (DegreesMode mode, bool setPreferredPrecision) |
MRVIEWER_API int | getUiLengthPrecision () |
MRVIEWER_API void | setUiLengthPrecision (int precision) |
MRVIEWER_API int | getUiAnglePrecision () |
MRVIEWER_API void | setUiAnglePrecision (int precision) |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
MRVIEWER_API void MR::UnitSettings::resetToDefaults | ( | ) |
MRVIEWER_API void MR::UnitSettings::setDegreesMode | ( | DegreesMode | mode, |
bool | setPreferredPrecision ) |
MRVIEWER_API void MR::UnitSettings::setShowLeadingZero | ( | bool | show | ) |
void MR::UnitSettings::setThousandsSeparator | ( | char | ch | ) |
MRVIEWER_API void MR::UnitSettings::setUiAnglePrecision | ( | int | precision | ) |
MRVIEWER_API void MR::UnitSettings::setUiLengthPrecision | ( | int | precision | ) |
MRVIEWER_API void MR::UnitSettings::setUiLengthUnit | ( | std::optional< LengthUnit > | unit, |
bool | setPreferredLeadingZero ) |