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