5import QGroundControl.Controls
7/// Groups of rows from PX4ConfigRows.groupRows, each under a ConfigGroupHeader. rowDelegate is created for each row
8/// with the required properties modelData (the row) and index (its position in the group).
10 property var groupShown: function (group) { return true }
11 property Component rowDelegate
12 /// Prefix of the test hook objectName of each group, which ends with the group name in letters and digits
13 property string objectNamePrefix: ""
16 objectName: objectNamePrefix !== "" ? objectNamePrefix + "_group_" + modelData.name.replace(/[^A-Za-z0-9]/g, "") : ""
17 Layout.fillWidth: true
18 spacing: ScreenTools.defaultFontPixelHeight * 0.5
19 visible: groupShown(modelData)
21 required property var modelData