83 CanProvideAvailableValues = 1
93 virtual QString
id() const = 0;
101 virtual QString representValue(
QgsVectorLayer *layer,
int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
109 virtual QVariant sortValue(
QgsVectorLayer *layer,
int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
116 virtual Qt::AlignmentFlag alignmentFlag(
QgsVectorLayer *layer,
int fieldIndex, const QVariantMap &config ) const;
130 virtual QVariant createCache(
QgsVectorLayer *layer,
int fieldIndex, const QVariantMap &config ) const;
152 virtual QVariantList availableValues( const QVariantMap &config,
int countLimit, const
QgsFieldFormatterContext &context ) const;
159 Flags flags()
const {
return mFlags; }
166 void setFlags(
const Flags &flags );