16 #ifndef QGSQUICKFEATUREHIGHLIGHT_H
17 #define QGSQUICKFEATUREHIGHLIGHT_H
22 #include "qgis_quick.h"
46 Q_PROPERTY(
QgsQuickMapSettings *mapSettings MEMBER mMapSettings NOTIFY mapSettingsChanged )
58 Q_PROPERTY( QColor color MEMBER mColor NOTIFY colorChanged )
65 Q_PROPERTY(
float width MEMBER mWidth NOTIFY widthChanged )
86 void onMapSettingsChanged();
89 QSGNode *updatePaintNode( QSGNode *n, UpdatePaintNodeData * )
override;
91 QColor mColor = Qt::yellow;
Creates map highlights for a geometry provided by a AttributeModel.
void widthChanged()
Pen width of the highlighted geometry (feature).
void mapSettingsChanged()
Associated map settings.
void colorChanged()
Color of the highlighted geometry (feature).
void featureLayerPairChanged()
Feature to highlight.
Pair of QgsFeature and QgsVectorLayer.
The QgsQuickMapSettings class encapsulates QgsMapSettings class to offer settings of configuration of...