5import QGroundControl.Controls
7/// Group heading in an outlined rounded label like a QGCGroupBox heading, followed by a rule across the rest of the width
9 property alias text: captionLabel.text
11 Layout.fillWidth: true
12 spacing: ScreenTools.defaultFontPixelWidth / 2
14 QGCPalette { id: qgcPal }
17 implicitWidth: captionLabel.implicitWidth + ScreenTools.defaultFontPixelWidth * 3
18 implicitHeight: captionLabel.implicitHeight + ScreenTools.defaultFontPixelHeight * 0.4
19 radius: ScreenTools.defaultBorderRadius
22 border.color: qgcPal.borderSubtle
26 anchors.centerIn: parent
27 color: qgcPal.textPrimary
32 Layout.fillWidth: true
34 color: qgcPal.borderSubtle