16 #ifndef QGSQUICKUTILS_H 17 #define QGSQUICKUTILS_H 27 #include "qgis_quick.h" 55 Q_PROPERTY( qreal dp READ screenDensity CONSTANT )
64 qreal screenDensity()
const;
69 Q_INVOKABLE
double screenUnitsToMeters(
QgsQuickMapSettings *mapSettings,
int baseLengthPixels )
const;
72 Q_INVOKABLE
void logMessage(
const QString &message,
73 const QString &tag = QString(
"QgsQuick" ),
81 QString dumpScreenInfo()
const;
84 static qreal calculateScreenDensity();
89 #endif // QGSQUICKUTILS_H Encapsulating the common utilies for QgsQuick library.
MessageLevel
Level for messages This will be used both for message log and message bar in application.
The QgsQuickMapSettings class encapsulates QgsMapSettings class to offer settings of configuration of...
This class represents a coordinate reference system (CRS).