15#ifndef QGSMAPHITTEST_H
16#define QGSMAPHITTEST_H
76 QMap<QString, QSet<QString>> results() const
SIP_SKIP;
86 QMap<QString, QList<QString>> resultsPy() const
SIP_PYNAME( results );
105 bool legendKeyVisible( const QString &ruleKey,
QgsVectorLayer *layer ) const;
110 typedef QSet<QString> SymbolSet;
113 typedef QMap<QString, SymbolSet> HitTest;
129 const QString &layerId,
132 SymbolSet &usedSymbols,
133 SymbolSet &usedSymbolsRuleKey,
142 HitTest mHitTestRuleKey;
172 QMap<QString, QSet<QString>> results()
const SIP_SKIP;
180 QMap<QString, QList<QString>> resultsPy()
const SIP_PYNAME( results );
183 void cancel()
override;
193 struct PreparedLayerData
195 std::unique_ptr< QgsAbstractFeatureSource > source;
198 std::unique_ptr< QgsFeatureRenderer > renderer;
201 std::unique_ptr< QgsExpressionContextScope > layerScope;
204 std::vector< PreparedLayerData > mPreparedData;
208 QMap<QString, QSet<QString>> mResults;
210 std::unique_ptr< QgsFeedback > mFeedback;
Base class that can be used for any class that is capable of returning features.
Class for parsing and evaluation of expressions (formerly called "search strings").
Base class for feedback objects to be used for cancellation of something running in a worker thread.
Container of fields for a vector layer.
A geometry is the spatial representation of a feature.
Contains settings relating to filtering the contents of QgsLayerTreeModel and views.
Executes a QgsMapHitTest in a background thread.
Class that runs a hit test with given map settings.
QMap< QString, QString > LayerFilterExpression
Maps an expression string to a layer id.
The QgsMapSettings class contains configuration for rendering of the map.
Contains information about the context of a rendering operation.
Abstract base class for all rendered symbols.
Abstract base class for long running background tasks.
Represents a vector layer which manages a vector based data sets.