89 CanProvideAvailableValues = 1
99 virtual QString
id() const = 0;
107 virtual QString representValue(
QgsVectorLayer *layer,
int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
115 virtual QVariant sortValue(
QgsVectorLayer *layer,
int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
122 virtual Qt::AlignmentFlag alignmentFlag(
QgsVectorLayer *layer,
int fieldIndex, const QVariantMap &config ) const;
136 virtual QVariant createCache(
QgsVectorLayer *layer,
int fieldIndex, const QVariantMap &config ) const;
158 virtual QVariantList availableValues( const QVariantMap &config,
int countLimit, const
QgsFieldFormatterContext &context ) const;
165 Flags flags()
const {
return mFlags; }
172 void setFlags(
const Flags &flags );