Browse Source

Component Summary window margins

QGC4.4
dogmaphobic 9 years ago
parent
commit
6abc3443c3
  1. 1
      src/AutoPilotPlugins/APM/APMAirframeComponentSummary.qml
  2. 1
      src/AutoPilotPlugins/APM/APMCameraComponentSummary.qml
  3. 1
      src/AutoPilotPlugins/APM/APMFlightModesComponentSummary.qml
  4. 1
      src/AutoPilotPlugins/APM/APMPowerComponentSummary.qml
  5. 1
      src/AutoPilotPlugins/APM/APMRadioComponentSummary.qml
  6. 1
      src/AutoPilotPlugins/APM/APMSafetyComponentSummaryCopter.qml
  7. 1
      src/AutoPilotPlugins/APM/APMSafetyComponentSummaryPlane.qml
  8. 1
      src/AutoPilotPlugins/APM/APMSensorsComponentSummary.qml
  9. 1
      src/AutoPilotPlugins/Common/ESP8266ComponentSummary.qml
  10. 1
      src/AutoPilotPlugins/PX4/AirframeComponentSummary.qml
  11. 1
      src/AutoPilotPlugins/PX4/CameraComponentSummary.qml
  12. 1
      src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml
  13. 1
      src/AutoPilotPlugins/PX4/PX4RadioComponentSummary.qml
  14. 1
      src/AutoPilotPlugins/PX4/PowerComponentSummary.qml
  15. 1
      src/AutoPilotPlugins/PX4/SafetyComponentSummary.qml
  16. 1
      src/AutoPilotPlugins/PX4/SensorsComponentSummary.qml
  17. 1
      src/AutoPilotPlugins/PX4/SensorsComponentSummaryFixedWing.qml
  18. 2
      src/QmlControls/QGCComboBox.qml
  19. 2
      src/QmlControls/QGCTextField.qml
  20. 1
      src/VehicleSetup/VehicleSummary.qml

1
src/AutoPilotPlugins/APM/APMAirframeComponentSummary.qml

@ -22,7 +22,6 @@ FactPanel { @@ -22,7 +22,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
id: nameRow;
labelText: qsTr("Frame Type:")

1
src/AutoPilotPlugins/APM/APMCameraComponentSummary.qml

@ -24,7 +24,6 @@ FactPanel { @@ -24,7 +24,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
visible: _mountTypeExists

1
src/AutoPilotPlugins/APM/APMFlightModesComponentSummary.qml

@ -23,7 +23,6 @@ FactPanel { @@ -23,7 +23,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Flight Mode 1:")

1
src/AutoPilotPlugins/APM/APMPowerComponentSummary.qml

@ -42,7 +42,6 @@ FactPanel { @@ -42,7 +42,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Battery monitor:")

1
src/AutoPilotPlugins/APM/APMRadioComponentSummary.qml

@ -21,7 +21,6 @@ FactPanel { @@ -21,7 +21,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Roll:")

1
src/AutoPilotPlugins/APM/APMSafetyComponentSummaryCopter.qml

@ -85,7 +85,6 @@ FactPanel { @@ -85,7 +85,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Arming Checks:")

1
src/AutoPilotPlugins/APM/APMSafetyComponentSummaryPlane.qml

@ -24,7 +24,6 @@ FactPanel { @@ -24,7 +24,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Throttle failsafe:")

1
src/AutoPilotPlugins/APM/APMSensorsComponentSummary.qml

@ -46,7 +46,6 @@ FactPanel { @@ -46,7 +46,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Compass 1:")

1
src/AutoPilotPlugins/Common/ESP8266ComponentSummary.qml

@ -29,7 +29,6 @@ FactPanel { @@ -29,7 +29,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Firmware Version:")
valueText: esp8266.version

1
src/AutoPilotPlugins/PX4/AirframeComponentSummary.qml

@ -10,7 +10,6 @@ import QGroundControl.Palette 1.0 @@ -10,7 +10,6 @@ import QGroundControl.Palette 1.0
FactPanel {
id: panel
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
color: qgcPal.windowShadeDark
QGCPalette { id: qgcPal; colorGroupEnabled: enabled }

1
src/AutoPilotPlugins/PX4/CameraComponentSummary.qml

@ -22,7 +22,6 @@ FactPanel { @@ -22,7 +22,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Trigger mode:")

1
src/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml

@ -22,7 +22,6 @@ FactPanel { @@ -22,7 +22,6 @@ FactPanel {
Loader {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
sourceComponent: _simpleMode ? simple : advanced
}

1
src/AutoPilotPlugins/PX4/PX4RadioComponentSummary.qml

@ -24,7 +24,6 @@ FactPanel { @@ -24,7 +24,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Roll:")

1
src/AutoPilotPlugins/PX4/PowerComponentSummary.qml

@ -47,7 +47,6 @@ FactPanel { @@ -47,7 +47,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Battery Full:")

1
src/AutoPilotPlugins/PX4/SafetyComponentSummary.qml

@ -24,7 +24,6 @@ FactPanel { @@ -24,7 +24,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("RTL min alt:")

1
src/AutoPilotPlugins/PX4/SensorsComponentSummary.qml

@ -27,7 +27,6 @@ FactPanel { @@ -27,7 +27,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: 8
VehicleSummaryRow {
labelText: qsTr("Compass 0:")

1
src/AutoPilotPlugins/PX4/SensorsComponentSummaryFixedWing.qml

@ -25,7 +25,6 @@ FactPanel { @@ -25,7 +25,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Compass:")

2
src/QmlControls/QGCComboBox.qml

@ -9,7 +9,7 @@ import QGroundControl.ScreenTools 1.0 @@ -9,7 +9,7 @@ import QGroundControl.ScreenTools 1.0
ComboBox {
property var _qgcPal: QGCPalette { colorGroupEnabled: enabled }
property bool _showHighlight: pressed | hovered
property bool _showBorder: _qgcPal.globalTheme == QGCPalette.Light
property bool _showBorder: _qgcPal.globalTheme === QGCPalette.Light
style: ComboBoxStyle {
font.pointSize: ScreenTools.defaultFontPointSize

2
src/QmlControls/QGCTextField.qml

@ -20,7 +20,7 @@ TextField { @@ -20,7 +20,7 @@ TextField {
property var __qgcPal: QGCPalette { colorGroupEnabled: enabled }
textColor: __qgcPal.textFieldText
height: Math.max(25, Math.round(TextSingleton.implicitHeight * 1.2))
height: Math.max(25, Math.round(unitsLabel.implicitHeight * 1.2))
Label {
id: unitsLabelWidthGenerator

1
src/VehicleSetup/VehicleSummary.qml

@ -152,6 +152,7 @@ Rectangle { @@ -152,6 +152,7 @@ Rectangle {
width: parent.width
Loader {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
source: modelData.summaryQmlSource
}
}

Loading…
Cancel
Save