當前位置:網站首頁>QGC雜記

QGC雜記

2022-01-27 15:59:37 dancing_night

關於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


版權聲明
本文為[dancing_night]所創,轉載請帶上原文鏈接,感謝
https://cht.chowdera.com/2022/01/202201271559368761.html

隨機推薦