diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-26 19:41:56 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-26 19:41:56 +1000 |
| commit | be6b19ad21f13404fd70d2be6bf3ac16d786f3a8 (patch) | |
| tree | 51d78316ac4d6cb2129c8a56e034ce8962b63fb6 /modules/detachedcontent/bluetooth/BtPane.qml | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-shell-be6b19ad21f13404fd70d2be6bf3ac16d786f3a8.tar.gz caelestia-shell-be6b19ad21f13404fd70d2be6bf3ac16d786f3a8.tar.bz2 caelestia-shell-be6b19ad21f13404fd70d2be6bf3ac16d786f3a8.zip | |
dcontent: add bt pane
Diffstat (limited to 'modules/detachedcontent/bluetooth/BtPane.qml')
| -rw-r--r-- | modules/detachedcontent/bluetooth/BtPane.qml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/modules/detachedcontent/bluetooth/BtPane.qml b/modules/detachedcontent/bluetooth/BtPane.qml new file mode 100644 index 0000000..750166b --- /dev/null +++ b/modules/detachedcontent/bluetooth/BtPane.qml @@ -0,0 +1,42 @@ +pragma ComponentBehavior: Bound + +import qs.widgets +import qs.config +import QtQuick +import QtQuick.Layouts + +RowLayout { + anchors.fill: parent + + spacing: 0 + + Item { + Layout.preferredWidth: Math.floor(parent.width / 3) + Layout.fillHeight: true + + DeviceList { + anchors.margins: Appearance.padding.large + Appearance.padding.normal + anchors.leftMargin: Appearance.padding.large + anchors.rightMargin: Appearance.padding.large + Appearance.padding.normal / 2 + } + + InnerBorder { + leftThickness: 0 + rightThickness: Appearance.padding.normal / 2 + } + } + + Item { + Layout.fillWidth: true + Layout.fillHeight: true + + Details { + anchors.margins: Appearance.padding.normal + anchors.leftMargin: Appearance.padding.normal / 2 + } + + InnerBorder { + leftThickness: Appearance.padding.normal / 2 + } + } +} |