|
QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Creates map highlights for a geometry provided by a AttributeModel. More...
#include <qgsquickfeaturehighlight.h>

Signals | |
| void | colorChanged () |
| Color of the highlighted geometry (feature). More... | |
| void | featureLayerPairChanged () |
| Feature to highlight. More... | |
| void | mapSettingsChanged () |
| Associated map settings. More... | |
| void | widthChanged () |
| Pen width of the highlighted geometry (feature). More... | |
Public Member Functions | |
| QgsQuickFeatureHighlight (QQuickItem *parent=nullptr) | |
| Creates a new feature highlight. More... | |
Properties | |
| QColor | color |
| Color of the highlighted geometry (feature). More... | |
| QgsQuickFeatureLayerPair | featureLayerPair |
| Feature to highlight. More... | |
| QgsQuickMapSettings * | mapSettings |
| Associated map settings. More... | |
| float | width |
| Pen width of the highlighted geometry (feature). More... | |
Creates map highlights for a geometry provided by a AttributeModel.
The highlights are compatible with the QtQuick scene graph and can be directly shown on map canvas
Definition at line 39 of file qgsquickfeaturehighlight.h.
|
explicit |
Creates a new feature highlight.
Definition at line 25 of file qgsquickfeaturehighlight.cpp.
|
signal |
Color of the highlighted geometry (feature).
Default is yellow color
|
signal |
Feature to highlight.
|
signal |
Associated map settings.
Should be initialized from QML component before the first use.
|
signal |
Pen width of the highlighted geometry (feature).
Default is 20, see QSGGeometry::setLineWidth()
| QColor QgsQuickFeatureHighlight::color |
Color of the highlighted geometry (feature).
Default is yellow color
Definition at line 1 of file qgsquickfeaturehighlight.h.
| QgsQuickFeatureLayerPair QgsQuickFeatureHighlight::featureLayerPair |
Feature to highlight.
Definition at line 1 of file qgsquickfeaturehighlight.h.
| QgsQuickMapSettings * QgsQuickFeatureHighlight::mapSettings |
Associated map settings.
Should be initialized from QML component before the first use.
Definition at line 1 of file qgsquickfeaturehighlight.h.
| float QgsQuickFeatureHighlight::width |
Pen width of the highlighted geometry (feature).
Default is 20, see QSGGeometry::setLineWidth()
Definition at line 1 of file qgsquickfeaturehighlight.h.