16 #ifndef QGSQUICKSCALEBARKIT_H 17 #define QGSQUICKSCALEBARKIT_H 22 #include "qgis_quick.h" 51 Q_PROPERTY(
QgsQuickMapSettings *mapSettings MEMBER mMapSettings WRITE setMapSettings NOTIFY mapSettingsChanged )
56 Q_PROPERTY(
int preferredWidth MEMBER mPreferredWidth NOTIFY preferredWidthChanged )
61 Q_PROPERTY( QString units READ units NOTIFY scaleBarChanged )
66 Q_PROPERTY(
int distance READ distance NOTIFY scaleBarChanged )
72 Q_PROPERTY(
int width READ width NOTIFY scaleBarChanged )
95 QString units() const;
102 void scaleBarChanged();
105 void mapSettingsChanged();
108 void preferredWidthChanged();
112 void updateScaleBar();
123 #endif // QGSQUICKSCALEBARKIT_H The class QgsQuickScaleBarKit encapsulates the utilies to calculate scale bar properties.
The QgsQuickMapSettings class encapsulates QgsMapSettings class to offer settings of configuration of...