26 #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
27 mThousandsSep = l.groupSeparator();
28 mDecimalSep = l.decimalPoint();
29 mPercent = l.percent();
30 mZeroDigit = l.zeroDigit();
31 mNegativeSign = l.negativeSign();
32 mPositiveSign = l.positiveSign();
33 mExponential = l.exponential();
38 mThousandsSep = l.groupSeparator().at( 0 );
39 mDecimalSep = l.decimalPoint().at( 0 );
40 mPercent = l.percent().at( 0 );
41 mZeroDigit = l.zeroDigit().at( 0 );
42 mNegativeSign = l.negativeSign().at( 0 );
43 mPositiveSign = l.positiveSign().at( 0 );
44 mExponential = l.exponential().at( 0 );
55 return 1234.56789123456;
62 element.appendChild( configElement );
63 element.setAttribute( QStringLiteral(
"id" ),
id() );
QgsNumericFormatContext()
Constructor for QgsNumericFormatContext.
The class is used as a container of context for various read/write operations on other objects.
static QDomElement writeVariant(const QVariant &value, QDomDocument &doc)
Write a QVariant to a QDomElement.