4import QGroundControl.Controls
6/// List of the mission's visual items. Selecting a row makes it the current plan view item.
10 required property var missionController
14 objectName: "planPanel_missionList"
15 model: missionController.visualItems
16 spacing: ScreenTools.defaultFontPixelHeight * 0.1
18 currentIndex: missionController.currentPlanViewVIIndex
20 onCurrentIndexChanged: positionViewAtIndex(currentIndex, ListView.Contain)
22 delegate: MissionItemRow {
23 required property var model
29 if (!mainWindow.allowViewSwitch()) {
32 root.missionController.setCurrentPlanViewSeqNum(object.sequenceNumber, false)