QGC杂记

关于QGC一些杂乱的笔记,记录于此备忘。

MainWindow在QGCApplication::_initForNormalAppBoot中构造
QGCQmlWidgetHolder 主wiget在MainWindow中初始化
QGCQmlWidgetHolder包含QGCQuickWidget




MainWindow构造函数加载MainWindowHybrid.qml
MainWindowHybrid.qml加载MainWindowInner.qml


MainWindowInner.qml里加载 [ settingsViewLoader, setupViewLoader, planViewLoader, flightView, analyzeViewLoader ]
----"AppSettings.qml"  
----"SetupView.qml"    
----"MissionEditor.qml"
----"AnalyzeView.qml"  

MissionEditor.qml里加载 FlightMap, GeoFenceEditor.qml


FlightDisplayView.qml 里加载 FlightDisplayViewWidgets.qml


FlightDisplayViewWidgets.qml 里加载 
----QGCInstrumentWidget
----QGCInstrumentWidgetAlternate
----ValuesWidget
----QGCLabel(FlyByMK)
----
----
----
----


qml 和 名字对应表

FlightDisplayView       1.0 FlightDisplayView.qml        --------flightView
FlightDisplayViewMap    1.0 FlightDisplayViewMap.qml
FlightDisplayViewVideo  1.0 FlightDisplayViewVideo.qml

# Main view controls
FlightMap               1.0 FlightMap.qml
QGCVideoBackground      1.0 QGCVideoBackground.qml

# Widgets
InstrumentSwipeView             1.0 InstrumentSwipeView.qml
MapScale                        1.0 MapScale.qml
QGCArtificialHorizon            1.0 QGCArtificialHorizon.qml
QGCAttitudeHUD                  1.0 QGCAttitudeHUD.qml
QGCAttitudeWidget               1.0 QGCAttitudeWidget.qml
QGCCompassWidget                1.0 QGCCompassWidget.qml
QGCInstrumentWidget             1.0 QGCInstrumentWidget.qml
QGCInstrumentWidgetAlternate    1.0 QGCInstrumentWidgetAlternate.qml
QGCPitchIndicator               1.0 QGCPitchIndicator.qml
QGCSlider                       1.0 QGCSlider.qml
ValuesWidget                    1.0 ValuesWidget.qml
VehicleHealthWidget             1.0 VehicleHealthWidget.qml
VibrationWidget                 1.0 VibrationWidget.qml

# Map items
MissionItemIndicator    1.0 MissionItemIndicator.qml
MissionItemView         1.0 MissionItemView.qml
MissionLineView         1.0 MissionLineView.qml
VehicleMapItem          1.0 VehicleMapItem.qml

# Editor controls
QGCMapPolygonControls  1.0 QGCMapPolygonControls.qml


你可能感兴趣的:(QGC,QGC)