61 All = Count | CountDistinct | CountMissing | Min | Max | MinimumLength | MaximumLength | MeanLength | Minority | Majority,
63 Q_DECLARE_FLAGS( Statistics, Statistic )
84 void setStatistics( QgsStringStatisticalSummary::Statistics stats ) { mStatistics = stats; }
97 void calculate(
const QStringList &values );
106 void calculateFromVariants(
const QVariantList &values );
122 void addString(
const QString &
string );
137 void addValue(
const QVariant &value );
156 int count()
const {
return mCount; }
168 QSet< QString > distinctValues()
const;
178 QString
min()
const {
return mMin; }
183 QString
max()
const {
return mMax; }
229 Statistics mStatistics;
232 QMap< QString, int > mValues;
243 void testString(
const QString &
string );
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)