From 6e6db08726e3bc274594de6835a01fc10002def9 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 17 May 2025 00:44:00 +0800 Subject: feat: dashboard --- modules/dashboard/Content.qml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 modules/dashboard/Content.qml (limited to 'modules/dashboard/Content.qml') diff --git a/modules/dashboard/Content.qml b/modules/dashboard/Content.qml new file mode 100644 index 0000000..f3f102a --- /dev/null +++ b/modules/dashboard/Content.qml @@ -0,0 +1,34 @@ +import "root:/widgets" +import "root:/services" +import "root:/config" +import Quickshell +import QtQuick +import QtQuick.Controls + +Item { + id: root + + required property PersistentProperties visibilities + + anchors.horizontalCenter: parent.horizontalCenter + anchors.bottom: parent.bottom + + implicitWidth: 800 + implicitHeight: 300 + + Tabs { + id: tabs + + anchors.fill: parent + anchors.topMargin: Appearance.padding.normal + anchors.margins: Appearance.padding.large + + currentIndex: view.currentIndex + } + + SwipeView { + id: view + + currentIndex: tabs.currentIndex + } +} -- cgit v1.2.3-freya