50 qRegisterMetaType< QList<QgsMapLayer *> >(
"QList<QgsMapLayer*>" );
51 qRegisterMetaType< QgsAttributes > (
"QgsAttributes" );
52 qRegisterMetaType< QgsCoordinateReferenceSystem >(
"QgsCoordinateReferenceSystem" );
53 qRegisterMetaType< QgsCoordinateTransformContext >(
"QgsCoordinateTransformContext" );
54 qRegisterMetaType< QgsFeature > (
"QgsFeature" );
55 qRegisterMetaType< QgsFeatureId > (
"QgsFeatureId" );
56 qRegisterMetaType< QgsPoint >(
"QgsPoint" );
57 qRegisterMetaType< QgsPointXY >(
"QgsPointXY" );
58 qRegisterMetaType< Qgis::SystemOfMeasurement >(
"Qgis::SystemOfMeasurement" );
59 qRegisterMetaType< Qgis::DistanceUnit >(
"Qgis::DistanceUnit" );
60 qRegisterMetaType< QgsCoordinateFormatter::FormatFlags >(
"QgsCoordinateFormatter::FormatFlags" );
61 qRegisterMetaType< QgsCoordinateFormatter::Format >(
"QgsCoordinateFormatter::Format" );
62 qRegisterMetaType< QVariant::Type >(
"QVariant::Type" );
64 qmlRegisterUncreatableType< QgsUnitTypes >( uri, 0, 1,
"QgsUnitTypes",
"Only enums from QgsUnitTypes can be used" );
65 qmlRegisterType< QgsProject >( uri, 0, 1,
"Project" );
66 qmlRegisterType< QgsQuickMapCanvasMap >( uri, 0, 1,
"MapCanvasMap" );
67 qmlRegisterType< QgsQuickMapSettings >( uri, 0, 1,
"MapSettings" );
68 qmlRegisterType< QgsQuickMapTransform >( uri, 0, 1,
"MapTransform" );
69 qmlRegisterType< QgsQuickElevationProfileCanvas >( uri, 0, 1,
"ElevationProfileCanvas" );
70 qmlRegisterType< QgsVectorLayer >( uri, 0, 1,
"VectorLayer" );
72 qmlRegisterSingletonType< QgsQuickUtils >( uri, 0, 1,
"Utils", buildUtilsSingleton );