Commit b6e722c6 authored by Don Gagne's avatar Don Gagne

Convert to QGCView

parent fb26f834
...@@ -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.Controls 1.0
import QGroundControl.ScreenTools 1.0 import QGroundControl.ScreenTools 1.0
FactPanel { QGCView {
id: panel id: rootQGCView
viewPanel: view
QGCPalette { id: palette; colorGroupEnabled: enabled } 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 flightLineWidth: 2 // width of lines for flight graphic
property int loiterAltitudeColumnWidth: 180 // width of loiter altitude column 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 arrowWidth: 18 // width for arrow graphic
property int firstColumnWidth: 220 // Width of first column in return home triggers area property int firstColumnWidth: 220 // Width of first column in return home triggers area
QGCView {
id: view
anchors.fill: parent
Column { Column {
anchors.fill: parent anchors.fill: parent
...@@ -308,4 +314,5 @@ FactPanel { ...@@ -308,4 +314,5 @@ FactPanel {
property Fact fact: controller.getParameterFact(-1, "NAV_DLL_OBC") property Fact fact: controller.getParameterFact(-1, "NAV_DLL_OBC")
} }
} }
} // QGCVIew
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment