summaryrefslogtreecommitdiff
path: root/modules/dashboard/Content.qml
blob: f3f102ab7a724c10dad13ab6ac929d608529650e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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
    }
}