diff --git a/src/FlightDisplay/FlightDisplayView.qml b/src/FlightDisplay/FlightDisplayView.qml index bcc4ee330f17dab474537800ee9e57f3f44fbf5a..ed01d1c6fbcce41d46b808d542f0164591c9f3b3 100644 --- a/src/FlightDisplay/FlightDisplayView.qml +++ b/src/FlightDisplay/FlightDisplayView.qml @@ -219,15 +219,14 @@ QGCView { } FlightDisplayViewWidgets { - id: flightDisplayViewWidgets - z: _panel.z + 4 - height: ScreenTools.availableHeight - anchors.left: parent.left - anchors.right: parent.right - anchors.bottom: parent.bottom - - property bool isBackgroundDark: root.isBackgroundDark - property var qgcView: root + id: flightDisplayViewWidgets + z: _panel.z + 4 + height: ScreenTools.availableHeight + anchors.left: parent.left + anchors.right: parent.right + anchors.bottom: parent.bottom + qgcView: root + isBackgroundDark: root.isBackgroundDark } //-- Virtual Joystick diff --git a/src/FlightDisplay/FlightDisplayViewWidgets.qml b/src/FlightDisplay/FlightDisplayViewWidgets.qml index cd460922fb2d5f6ab58d749668145e5ffbf72724..e295ef9d802587082352eae53bf4290343773302 100644 --- a/src/FlightDisplay/FlightDisplayViewWidgets.qml +++ b/src/FlightDisplay/FlightDisplayViewWidgets.qml @@ -25,8 +25,10 @@ import QGroundControl.FlightMap 1.0 Item { id: _root - property alias guidedModeBar: _guidedModeBar - property bool gotoEnabled: _activeVehicle && _activeVehicle.guidedMode && _activeVehicle.flying + property alias guidedModeBar: _guidedModeBar + property bool gotoEnabled: _activeVehicle && _activeVehicle.guidedMode && _activeVehicle.flying + property var qgcView + property bool isBackgroundDark property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle property bool _isSatellite: _mainIsMap ? (_flightMap ? _flightMap.isSatelliteMap : true) : true @@ -87,7 +89,7 @@ Item { airSpeedFact: _airSpeedFact lightBorders: _lightWidgetBorders z: QGroundControl.zOrderWidgets - qgcView: parent.parent.qgcView + qgcView: _root.qgcView maxHeight: parent.height - (anchors.margins * 2) } @@ -113,7 +115,7 @@ Item { anchors.top: instrumentGadgetAlternate.bottom anchors.horizontalCenter: instrumentGadgetAlternate.horizontalCenter width: getGadgetWidth() - qgcView: parent.parent.qgcView + qgcView: _root.qgcView textColor: _isSatellite ? "white" : "black" visible: _useAlternateInstruments maxHeight: virtualJoystickMultiTouch.visible ? virtualJoystickMultiTouch.y - y : parent.height - anchors.margins - y diff --git a/src/MissionEditor/MissionEditor.qml b/src/MissionEditor/MissionEditor.qml index a349bf947b99766ec33c4e26dc0688d81311ed8b..738a9864c65b1b8633298aac48a434be99edea4c 100644 --- a/src/MissionEditor/MissionEditor.qml +++ b/src/MissionEditor/MissionEditor.qml @@ -583,6 +583,7 @@ QGCView { exclusiveGroup: planElementSelectorGroup text: qsTr("Mission") checked: true + color: mapPal.text } Item { height: 1; width: 1 } @@ -591,6 +592,7 @@ QGCView { id: planElementGeoFence exclusiveGroup: planElementSelectorGroup text: qsTr("Fence") + color: mapPal.text } Item { height: 1; width: 1 } @@ -599,6 +601,7 @@ QGCView { id: planElementRallyPoints exclusiveGroup: planElementSelectorGroup text: qsTr("Rally") + color: mapPal.text } } // Row - Plan Element Selector diff --git a/src/ui/MainWindowInner.qml b/src/ui/MainWindowInner.qml index 9f54ee8125aa2dc5e592eb0df36f8be8964e6a4e..b11b073ab6d44503643c10c8d4d78ed4269cc1e0 100644 --- a/src/ui/MainWindowInner.qml +++ b/src/ui/MainWindowInner.qml @@ -67,7 +67,6 @@ Item { } settingsViewLoader.visible = true toolBar.checkSettingsButton() - console.log("showSettingsView") } function showSetupView() {