diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-03 23:44:51 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-03 23:44:51 +1000 |
| commit | 18058407181e0f4114a4ef49a1796884c5661969 (patch) | |
| tree | ab0f3dc8718cb076d90f60828e0c1975691b4e13 /modules | |
| parent | dcontent: impl rest of bt device settings (diff) | |
| download | caelestia-shell-18058407181e0f4114a4ef49a1796884c5661969.tar.gz caelestia-shell-18058407181e0f4114a4ef49a1796884c5661969.tar.bz2 caelestia-shell-18058407181e0f4114a4ef49a1796884c5661969.zip | |
dcontent: add audio placeholder
Also clip panes
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/detachedcontent/NavRail.qml | 5 | ||||
| -rw-r--r-- | modules/detachedcontent/Panes.qml | 14 | ||||
| -rw-r--r-- | modules/detachedcontent/Session.qml | 2 |
3 files changed, 20 insertions, 1 deletions
diff --git a/modules/detachedcontent/NavRail.qml b/modules/detachedcontent/NavRail.qml index 7658aaa..de654d2 100644 --- a/modules/detachedcontent/NavRail.qml +++ b/modules/detachedcontent/NavRail.qml @@ -91,6 +91,11 @@ Item { icon: "settings_bluetooth" label: "bluetooth" } + + NavItem { + icon: "tune" + label: "audio" + } } component NavItem: Item { diff --git a/modules/detachedcontent/Panes.qml b/modules/detachedcontent/Panes.qml index 912382c..d26a71d 100644 --- a/modules/detachedcontent/Panes.qml +++ b/modules/detachedcontent/Panes.qml @@ -43,6 +43,19 @@ ClippingRectangle { } } + Pane { + index: 2 + sourceComponent: Item { + StyledText { + anchors.centerIn: parent + text: qsTr("Work in progress") + color: Colours.palette.m3outline + font.pointSize: Appearance.font.size.extraLarge + font.weight: 500 + } + } + } + Behavior on y { NumberAnimation { duration: Appearance.anim.durations.normal @@ -69,6 +82,7 @@ ClippingRectangle { id: loader anchors.fill: parent + clip: true asynchronous: true active: { if (root.session.activeIndex === pane.index) diff --git a/modules/detachedcontent/Session.qml b/modules/detachedcontent/Session.qml index c737518..0c3f1b4 100644 --- a/modules/detachedcontent/Session.qml +++ b/modules/detachedcontent/Session.qml @@ -2,7 +2,7 @@ import Quickshell.Bluetooth import QtQuick QtObject { - readonly property list<string> panes: ["network", "bluetooth"] + readonly property list<string> panes: ["network", "bluetooth", "audio"] property string active property int activeIndex |