QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
SettingsPage.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Controls
3import QtQuick.Dialogs
4import QtQuick.Layouts
5
6import QGroundControl
7import QGroundControl.FactControls
8import QGroundControl.Controls
9
10Item {
11 id: root
12
13 default property alias contentItem: mainLayout.data
14 property int sectionFilter: -1
15
16 QGCFlickable {
17 anchors.fill: parent
18 contentWidth: mainLayout.width
19 contentHeight: mainLayout.height
20
21 ColumnLayout {
22 id: mainLayout
23 x: Math.max(0, root.width / 2 - width / 2)
24 width: Math.max(implicitWidth, ScreenTools.defaultFontPixelWidth * 50)
25 spacing: ScreenTools.defaultFontPixelHeight
26 }
27 }
28}