QGIS API Documentation  3.20.0-Odense (decaadbb31)
Public Member Functions | Public Attributes | List of all members
formatter Struct Reference
Inheritance diagram for formatter:
Inheritance graph
[legend]

Public Member Functions

 formatter (QChar thousands, bool showThousands, QChar decimal)
 
 formatter (QChar thousands, bool showThousands, QChar decimal)
 
wchar_t do_decimal_point () const override
 
wchar_t do_decimal_point () const override
 
std::string do_grouping () const override
 
std::string do_grouping () const override
 
wchar_t do_thousands_sep () const override
 
wchar_t do_thousands_sep () const override
 

Public Attributes

wchar_t mDecimal
 
bool mShowThousands = true
 
wchar_t mThousands
 

Detailed Description

Definition at line 24 of file qgsbasicnumericformat.cpp.

Constructor & Destructor Documentation

◆ formatter() [1/2]

formatter::formatter ( QChar  thousands,
bool  showThousands,
QChar  decimal 
)
inline

Definition at line 26 of file qgsbasicnumericformat.cpp.

◆ formatter() [2/2]

formatter::formatter ( QChar  thousands,
bool  showThousands,
QChar  decimal 
)
inline

Definition at line 28 of file qgsfractionnumericformat.cpp.

Member Function Documentation

◆ do_decimal_point() [1/2]

wchar_t formatter::do_decimal_point ( ) const
inlineoverride

Definition at line 31 of file qgsbasicnumericformat.cpp.

◆ do_decimal_point() [2/2]

wchar_t formatter::do_decimal_point ( ) const
inlineoverride

Definition at line 33 of file qgsfractionnumericformat.cpp.

◆ do_grouping() [1/2]

std::string formatter::do_grouping ( ) const
inlineoverride

Definition at line 33 of file qgsbasicnumericformat.cpp.

◆ do_grouping() [2/2]

std::string formatter::do_grouping ( ) const
inlineoverride

Definition at line 35 of file qgsfractionnumericformat.cpp.

◆ do_thousands_sep() [1/2]

wchar_t formatter::do_thousands_sep ( ) const
inlineoverride

Definition at line 32 of file qgsbasicnumericformat.cpp.

◆ do_thousands_sep() [2/2]

wchar_t formatter::do_thousands_sep ( ) const
inlineoverride

Definition at line 34 of file qgsfractionnumericformat.cpp.

Member Data Documentation

◆ mDecimal

wchar_t formatter::mDecimal

Definition at line 36 of file qgsbasicnumericformat.cpp.

◆ mShowThousands

bool formatter::mShowThousands = true

Definition at line 37 of file qgsbasicnumericformat.cpp.

◆ mThousands

wchar_t formatter::mThousands

Definition at line 35 of file qgsbasicnumericformat.cpp.


The documentation for this struct was generated from the following files: