QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ConfigRowsPanel.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Layouts
3
4import QGroundControl
5import QGroundControl.Controls
6
7/// Rounded panel holding a row-based setup page. Children are laid out in a column.
8Rectangle {
9 default property alias panelData: panelLayout.data
10
11 readonly property real _margins: ScreenTools.defaultFontPixelHeight * 0.5
12
13 Layout.fillWidth: true
14 implicitWidth: panelLayout.implicitWidth + _margins * 2
15 implicitHeight: panelLayout.implicitHeight + _margins * 2
16 color: qgcPal.windowPanel
17 border.color: qgcPal.borderSubtle
18 radius: ScreenTools.defaultBorderRadius * 2
19
20 QGCPalette { id: qgcPal }
21
22 ColumnLayout {
23 id: panelLayout
24 anchors.fill: parent
25 anchors.margins: _margins
26 spacing: _margins
27 }
28}