|
| QgsFallbackNumericFormat ()=default |
| Default constructor. More...
|
|
QgsNumericFormat * | clone () const override |
| Clones the format, returning a new object. More...
|
|
QVariantMap | configuration (const QgsReadWriteContext &context) const override |
| Returns the current configuration of the formatter. More...
|
|
QgsNumericFormat * | create (const QVariantMap &configuration, const QgsReadWriteContext &context) const override |
| Creates a new copy of the format, using the supplied configuration. More...
|
|
QString | formatDouble (double value, const QgsNumericFormatContext &context) const override |
| Returns a formatted string representation of a numeric double value. More...
|
|
QString | id () const override |
| Returns a unique id for this numeric format. More...
|
|
int | sortKey () override |
| Returns a sorting key value, where formats with a lower sort key will be shown earlier in lists. More...
|
|
QString | visibleName () const override |
| Returns the translated, user-visible name for this format. More...
|
|
| QgsNumericFormat ()=default |
| Default constructor. More...
|
|
virtual | ~QgsNumericFormat ()=default |
|
virtual QgsNumericFormat * | clone () const =0 |
| Clones the format, returning a new object. More...
|
|
virtual QVariantMap | configuration (const QgsReadWriteContext &context) const =0 |
| Returns the current configuration of the formatter. More...
|
|
virtual QgsNumericFormat * | create (const QVariantMap &configuration, const QgsReadWriteContext &context) const =0 |
| Creates a new copy of the format, using the supplied configuration. More...
|
|
virtual QString | formatDouble (double value, const QgsNumericFormatContext &context) const =0 |
| Returns a formatted string representation of a numeric double value. More...
|
|
virtual QString | id () const =0 |
| Returns a unique id for this numeric format. More...
|
|
bool | operator!= (const QgsNumericFormat &other) const |
|
bool | operator== (const QgsNumericFormat &other) const |
|
virtual int | sortKey () |
| Returns a sorting key value, where formats with a lower sort key will be shown earlier in lists. More...
|
|
virtual double | suggestSampleValue () const |
| Returns a suggested sample value which nicely represents the current format configuration. More...
|
|
virtual QString | visibleName () const =0 |
| Returns the translated, user-visible name for this format. More...
|
|
void | writeXml (QDomElement &element, QDomDocument &document, const QgsReadWriteContext &context) const |
| Writes the format to an XML element. More...
|
|