Files
glassMxrph/quickshell/controlcenter/ControlCard.qml
T
mxandClaude Opus 5.5 99e64a7713 Add glassMxrph shell sources
Initial commit of the Quickshell desktop suite: bar, dock, launcher,
settings, Control Center, dashboard, OSD, lock screen, desktop widgets,
plugin host with the vendored Noctalia/Omarchy compatibility layer,
helpers, packaging, tests and phase documentation.

Includes the optimization work so far: usage widgets and dashboard
gauges no longer animate continuously, desktop widgets pause while
covered, system controls stop flickering on background polls, dock app
matching uses an indexed catalog, and workspace ghosts are created only
for occupied slots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 22:36:17 +02:00

36 lines
907 B
QML

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
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: 10
Text {
visible: root.heading
text: root.title
color: Theme.text
font.pixelSize: 13
font.weight: Font.DemiBold
}
}
}