|
|
|
@ -334,9 +334,7 @@ void QGCApplication::_initCommon(void)
@@ -334,9 +334,7 @@ void QGCApplication::_initCommon(void)
|
|
|
|
|
qmlRegisterUncreatableType<QGCQGeoCoordinate> ("QGroundControl", 1, 0, "QGCQGeoCoordinate", "Reference only"); |
|
|
|
|
qmlRegisterUncreatableType<CoordinateVector> ("QGroundControl", 1, 0, "CoordinateVector", "Reference only"); |
|
|
|
|
|
|
|
|
|
qmlRegisterType<ViewWidgetController> ("QGroundControl.Controllers", 1, 0, "ViewWidgetController"); |
|
|
|
|
qmlRegisterType<ParameterEditorController> ("QGroundControl.Controllers", 1, 0, "ParameterEditorController"); |
|
|
|
|
qmlRegisterType<CustomCommandWidgetController> ("QGroundControl.Controllers", 1, 0, "CustomCommandWidgetController"); |
|
|
|
|
qmlRegisterType<FlightModesComponentController> ("QGroundControl.Controllers", 1, 0, "FlightModesComponentController"); |
|
|
|
|
qmlRegisterType<AirframeComponentController> ("QGroundControl.Controllers", 1, 0, "AirframeComponentController"); |
|
|
|
|
qmlRegisterType<SensorsComponentController> ("QGroundControl.Controllers", 1, 0, "SensorsComponentController"); |
|
|
|
@ -345,6 +343,8 @@ void QGCApplication::_initCommon(void)
@@ -345,6 +343,8 @@ void QGCApplication::_initCommon(void)
|
|
|
|
|
qmlRegisterType<ScreenToolsController> ("QGroundControl.Controllers", 1, 0, "ScreenToolsController"); |
|
|
|
|
|
|
|
|
|
#ifndef __mobile__ |
|
|
|
|
qmlRegisterType<ViewWidgetController> ("QGroundControl.Controllers", 1, 0, "ViewWidgetController"); |
|
|
|
|
qmlRegisterType<CustomCommandWidgetController> ("QGroundControl.Controllers", 1, 0, "CustomCommandWidgetController"); |
|
|
|
|
qmlRegisterType<FirmwareUpgradeController> ("QGroundControl.Controllers", 1, 0, "FirmwareUpgradeController"); |
|
|
|
|
qmlRegisterType<JoystickConfigController> ("QGroundControl.Controllers", 1, 0, "JoystickConfigController"); |
|
|
|
|
#endif |
|
|
|
|