|
QGIS API Documentation
2.6.0-Brighton
|
Class that runs a hit test with given map settings. More...
#include <qgsmaphittest.h>
Public Member Functions | |
| QgsMapHitTest (const QgsMapSettings &settings) | |
| void | run () |
| QSet< QgsSymbolV2 * > | symbolsForLayer (QgsVectorLayer *layer) const |
Protected Types | |
| typedef QSet< QgsSymbolV2 * > | SymbolV2Set |
| typedef QMap< QgsVectorLayer *, SymbolV2Set > | HitTest |
Protected Member Functions | |
| void | runHitTestLayer (QgsVectorLayer *vl, SymbolV2Set &usedSymbols, QgsRenderContext &context) |
Protected Attributes | |
| QgsMapSettings | mSettings |
| HitTest | mHitTest |
Class that runs a hit test with given map settings.
Based on the hit test it returns which symbols will be visible on the map - this is useful for content based legend.
|
protected |
|
protected |
| QgsMapHitTest::QgsMapHitTest | ( | const QgsMapSettings & | settings | ) |
| void QgsMapHitTest::run | ( | ) |
|
protected |
|
inline |
|
protected |
|
protected |
1.8.1.2