import QtQuick import QtQuick.Layouts import "../theme" // Rounded Control Center module (macOS style); also embedded by Settings pages. Rectangle { id: root default property alias controls: body.data property string title property bool heading: title !== "" property int padding: 12 property real spacing: 10 implicitWidth: 360 implicitHeight: body.implicitHeight + padding * 2 radius: Math.max(12, Theme.radius * 0.75) color: Theme.fill border.width: 1 border.color: Theme.hairline ColumnLayout { id: body anchors { left: parent.left right: parent.right top: parent.top margins: root.padding } spacing: root.spacing Text { visible: root.heading text: root.title color: Theme.text font.pixelSize: 13 font.weight: Font.DemiBold } } }