Browse Source

Convert to QGCView

QGC4.4
Don Gagne 10 years ago
parent
commit
b6e722c63e
  1. 13
      src/AutoPilotPlugins/PX4/SafetyComponent.qml

13
src/AutoPilotPlugins/PX4/SafetyComponent.qml

@ -31,11 +31,12 @@ import QGroundControl.Palette 1.0 @@ -31,11 +31,12 @@ import QGroundControl.Palette 1.0
import QGroundControl.Controls 1.0
import QGroundControl.ScreenTools 1.0
FactPanel {
id: panel
QGCView {
id: rootQGCView
viewPanel: view
QGCPalette { id: palette; colorGroupEnabled: enabled }
FactPanelController { id: controller; factPanel: panel }
FactPanelController { id: controller; factPanel: rootQGCView }
property int flightLineWidth: 2 // width of lines for flight graphic
property int loiterAltitudeColumnWidth: 180 // width of loiter altitude column
@ -47,6 +48,11 @@ FactPanel { @@ -47,6 +48,11 @@ FactPanel {
property int arrowWidth: 18 // width for arrow graphic
property int firstColumnWidth: 220 // Width of first column in return home triggers area
QGCView {
id: view
anchors.fill: parent
Column {
anchors.fill: parent
@ -308,4 +314,5 @@ FactPanel { @@ -308,4 +314,5 @@ FactPanel {
property Fact fact: controller.getParameterFact(-1, "NAV_DLL_OBC")
}
}
} // QGCVIew
}

Loading…
Cancel
Save