79 QString dump() const override;
80 QSet<QString> usedAttributes( const
QgsRenderContext &context ) const override;
81 bool filterNeedsGeometry() const override;
89 QString legendKeyToExpression( const QString &key,
QgsVectorLayer *layer,
bool &ok ) const override;
95 void setLegendSymbolItem( const QString &key,
QgsSymbol *symbol ) override;
96 bool legendSymbolItemsCheckable() const override;
97 bool legendSymbolItemChecked( const QString &key ) override;
98 void checkLegendSymbolItem( const QString &key,
bool state = true ) override;
135 struct CombinedFeature
137 QVector<QgsGeometry> geometries;
140 typedef QVector<CombinedFeature> FeatureCategoryVector;
142 FeatureCategoryVector mFeaturesCategories;
145 QMap<QByteArray, int> mSymbolCategories;
160 struct FeatureDecoration
166 FeatureDecoration(
const QgsFeature &a_feature,
bool a_selected,
bool a_drawMarkers,
int a_layer )
167 : feature( a_feature )
168 , selected( a_selected )
169 , drawMarkers( a_drawMarkers )
173 QList<FeatureDecoration> mFeatureDecorations;
The class is used as a container of context for various read/write operations on other objects.
Contains information about the context of a rendering operation.