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 objectName: "settingsPageFlickable"
18 anchors.fill: parent
19 contentWidth: mainLayout.width
20 contentHeight: mainLayout.height
21
22 ColumnLayout {
23 id: mainLayout
24 x: Math.max(0, root.width / 2 - width / 2)
25 width: Math.max(implicitWidth, ScreenTools.defaultFontPixelWidth * 50)
26 spacing: ScreenTools.defaultFontPixelHeight
27 }
28 }
29}