QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A context for numeric formats. More...
#include <qgsnumericformat.h>
Public Member Functions | |
QgsNumericFormatContext () | |
Constructor for QgsNumericFormatContext. More... | |
QChar | decimalSeparator () const |
Returns the decimal separator character. More... | |
QChar | exponential () const |
Returns the exponential character. More... | |
QChar | negativeSign () const |
Returns the negative sign character. More... | |
QChar | percent () const |
Returns the percent character. More... | |
QChar | positiveSign () const |
Returns the positive sign character. More... | |
void | setDecimalSeparator (const QChar &separator) |
Returns the decimal separator character. More... | |
void | setExponential (const QChar &character) |
Sets the exponential character. More... | |
void | setNegativeSign (const QChar &character) |
Sets the negative sign character. More... | |
void | setPercent (const QChar &character) |
Sets the percent character. More... | |
void | setPositiveSign (const QChar &character) |
Sets the positive sign character. More... | |
void | setThousandsSeparator (const QChar &separator) |
Sets the thousands separator character. More... | |
void | setZeroDigit (const QChar &character) |
Returns the zero digit character. More... | |
QChar | thousandsSeparator () const |
Returns the thousands separator character. More... | |
QChar | zeroDigit () const |
Returns the zero digit character. More... | |
QgsNumericFormatContext::QgsNumericFormatContext | ( | ) |
Constructor for QgsNumericFormatContext.
The context will be populated based on the user's current locale settings.
Definition at line 23 of file qgsnumericformat.cpp.
|
inline |
Returns the decimal separator character.
Definition at line 71 of file qgsnumericformat.h.
|
inline |
Returns the exponential character.
Definition at line 171 of file qgsnumericformat.h.
|
inline |
Returns the negative sign character.
Definition at line 131 of file qgsnumericformat.h.
|
inline |
Returns the percent character.
Definition at line 91 of file qgsnumericformat.h.
|
inline |
Returns the positive sign character.
Definition at line 151 of file qgsnumericformat.h.
|
inline |
Returns the decimal separator character.
Definition at line 81 of file qgsnumericformat.h.
|
inline |
Sets the exponential character.
Definition at line 181 of file qgsnumericformat.h.
|
inline |
Sets the negative sign character.
Definition at line 141 of file qgsnumericformat.h.
|
inline |
|
inline |
Sets the positive sign character.
Definition at line 161 of file qgsnumericformat.h.
|
inline |
Sets the thousands separator character.
Definition at line 61 of file qgsnumericformat.h.
|
inline |
Returns the zero digit character.
Definition at line 121 of file qgsnumericformat.h.
|
inline |
Returns the thousands separator character.
Definition at line 51 of file qgsnumericformat.h.
|
inline |
Returns the zero digit character.
Definition at line 111 of file qgsnumericformat.h.