|
QGIS API Documentation 3.99.0-Master (2fe06baccd8)
|
Utility class for common operations needed either from QML or cpp. More...
#include <qgsquickutils.h>

Public Member Functions | |
| QgsQuickUtils (QObject *parent=nullptr) | |
| Creates new QgsQuickUtils - this class is meant to serve as a QML singleton. | |
| ~QgsQuickUtils () override=default | |
Static Public Member Functions | |
| static Q_INVOKABLE QgsPoint | toQgsPoint (const QPointF &point) |
| Helper function to convert QPointF to QgsPoint without any transformations. | |
Utility class for common operations needed either from QML or cpp.
Definition at line 34 of file qgsquickutils.h.
|
explicit |
Creates new QgsQuickUtils - this class is meant to serve as a QML singleton.
Definition at line 20 of file qgsquickutils.cpp.
|
overridedefault |
|
static |
Helper function to convert QPointF to QgsPoint without any transformations.
Useful for converting these values in QML.
Definition at line 25 of file qgsquickutils.cpp.