#include <qlocale_p.h>
|
enum | DoubleForm { DFExponent = 0
, DFDecimal
, DFSignificantDigits
, _DFMax = DFSignificantDigits
} |
|
enum | Flags {
NoFlags = 0
, AddTrailingZeroes = 0x01
, ZeroPadded = 0x02
, LeftAdjusted = 0x04
,
BlankBeforePositive = 0x08
, AlwaysShowSign = 0x10
, GroupDigits = 0x20
, CapitalEorX = 0x40
,
ShowBase = 0x80
, UppercaseBase = 0x100
, ZeroPadExponent = 0x200
, ForcePoint = 0x400
} |
|
enum | NumberMode { IntegerMode
, DoubleStandardMode
, DoubleScientificMode
} |
|
|
QString | doubleToString (double d, int precision=-1, DoubleForm form=DFSignificantDigits, int width=-1, unsigned flags=NoFlags) const |
|
QString | longLongToString (qint64 l, int precision=-1, int base=10, int width=-1, unsigned flags=NoFlags) const |
|
QString | unsLongLongToString (quint64 l, int precision=-1, int base=10, int width=-1, unsigned flags=NoFlags) const |
|
double | stringToDouble (QStringView str, bool *ok, QLocale::NumberOptions options) const |
|
QSimpleParsedNumber< qint64 > | stringToLongLong (QStringView str, int base, QLocale::NumberOptions options) const |
|
QSimpleParsedNumber< quint64 > | stringToUnsLongLong (QStringView str, int base, QLocale::NumberOptions options) const |
|
bool | numberToCLocale (QStringView s, QLocale::NumberOptions number_options, NumberMode mode, CharBuff *result) const |
|
NumericData | numericData (NumberMode mode) const |
|
Q_CORE_EXPORT ParsingResult | validateChars (QStringView str, NumberMode numMode, int decDigits=-1, QLocale::NumberOptions number_options=QLocale::DefaultNumberOptions) const |
|
QLocaleId | id () const |
|
QString | decimalPoint () const |
|
QString | groupSeparator () const |
|
QString | listSeparator () const |
|
QString | percentSign () const |
|
QString | zeroDigit () const |
|
char32_t | zeroUcs () const |
|
QString | positiveSign () const |
|
QString | negativeSign () const |
|
QString | exponentSeparator () const |
|
Q_CORE_EXPORT GroupSizes | groupSizes () const |
|
| ForEachQLocaleRange (rangeIndex) ForEachQLocaleRange(Size) char m_currency_iso_code[3] |
|
Definition at line 242 of file qlocale_p.h.
◆ DoubleForm
Enumerator |
---|
DFExponent | |
DFDecimal | |
DFSignificantDigits | |
_DFMax | |
Definition at line 252 of file qlocale_p.h.
◆ Flags
Enumerator |
---|
NoFlags | |
AddTrailingZeroes | |
ZeroPadded | |
LeftAdjusted | |
BlankBeforePositive | |
AlwaysShowSign | |
GroupDigits | |
CapitalEorX | |
ShowBase | |
UppercaseBase | |
ZeroPadExponent | |
ForcePoint | |
Definition at line 259 of file qlocale_p.h.
◆ NumberMode
Enumerator |
---|
IntegerMode | |
DoubleStandardMode | |
DoubleScientificMode | |
Definition at line 275 of file qlocale_p.h.
◆ allLocaleDataRows()
◆ bytearrayToLongLong()
◆ bytearrayToUnsLongLong()
◆ c()
◆ convertDoubleToFloat()
static float QLocaleData::convertDoubleToFloat |
( |
double | d, |
|
|
bool * | ok ) |
|
inlinestaticnodiscard |
◆ decimalPoint()
QString QLocaleData::decimalPoint |
( |
| ) |
const |
|
nodiscard |
◆ doubleToString()
Definition at line 4056 of file qlocale.cpp.
References AddTrailingZeroes, CapitalEorX, DFDecimal, DFExponent, DFSignificantDigits, QLocaleData::GroupSizes::first, ForcePoint, GroupDigits, QLocaleData::GroupSizes::higher, QLocaleData::GroupSizes::least, LeftAdjusted, ZeroPadded, and ZeroPadExponent.
◆ exponentSeparator()
QString QLocaleData::exponentSeparator |
( |
| ) |
const |
|
nodiscard |
◆ findLocaleIndex()
◆ ForEachQLocaleRange()
◆ groupSeparator()
QString QLocaleData::groupSeparator |
( |
| ) |
const |
|
nodiscard |
◆ groupSizes()
◆ id()
◆ listSeparator()
QString QLocaleData::listSeparator |
( |
| ) |
const |
|
nodiscard |
◆ longLongToString()
QString QLocaleData::longLongToString |
( |
qint64 | l, |
|
|
int | precision = -1, |
|
|
int | base = 10, |
|
|
int | width = -1, |
|
|
unsigned | flags = NoFlags ) const |
|
nodiscard |
◆ negativeSign()
QString QLocaleData::negativeSign |
( |
| ) |
const |
|
nodiscard |
◆ numberToCLocale()
◆ numericData()
◆ percentSign()
QString QLocaleData::percentSign |
( |
| ) |
const |
|
nodiscard |
◆ positiveSign()
QString QLocaleData::positiveSign |
( |
| ) |
const |
|
nodiscard |
◆ stringToDouble()
double QLocaleData::stringToDouble |
( |
QStringView | str, |
|
|
bool * | ok, |
|
|
QLocale::NumberOptions | options ) const |
|
nodiscard |
◆ stringToLongLong()
◆ stringToUnsLongLong()
◆ unsLongLongToString()
QString QLocaleData::unsLongLongToString |
( |
quint64 | l, |
|
|
int | precision = -1, |
|
|
int | base = 10, |
|
|
int | width = -1, |
|
|
unsigned | flags = NoFlags ) const |
|
nodiscard |
◆ validateChars()
◆ zeroDigit()
QString QLocaleData::zeroDigit |
( |
| ) |
const |
|
nodiscard |
◆ zeroUcs()
char32_t QLocaleData::zeroUcs |
( |
| ) |
const |
|
nodiscard |
◆ m_currency_digits
quint8 QLocaleData::m_currency_digits |
◆ m_currency_rounding
quint8 QLocaleData::m_currency_rounding |
◆ m_first_day_of_week
quint8 QLocaleData::m_first_day_of_week |
◆ m_grouping_first
quint8 QLocaleData::m_grouping_first |
◆ m_grouping_higher
quint8 QLocaleData::m_grouping_higher |
◆ m_grouping_least
quint8 QLocaleData::m_grouping_least |
◆ m_weekend_end
quint8 QLocaleData::m_weekend_end |
◆ m_weekend_start
quint8 QLocaleData::m_weekend_start |
The documentation for this struct was generated from the following files: