diff options
Diffstat (limited to 'modules/dashboard/Content.qml')
| -rw-r--r-- | modules/dashboard/Content.qml | 34 |
1 files changed, 34 insertions, 0 deletions
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 + } +} |