39 lines
620 B
QML
39 lines
620 B
QML
import Quickshell
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import ZShell.Config
|
|
import ZShell
|
|
import qs.Components
|
|
import qs.Modules.Sidebar.Utils.Cards
|
|
import ZShell.Components
|
|
|
|
Item {
|
|
id: root
|
|
|
|
required property ScreenState screenState
|
|
|
|
implicitHeight: ZUtils.snap(layout.implicitHeight, root)
|
|
implicitWidth: ZUtils.snap(layout.implicitWidth, root)
|
|
|
|
SnapLayout {
|
|
id: layout
|
|
|
|
anchors.fill: parent
|
|
|
|
spacing: Tokens.spacing.small
|
|
orientation: Qt.Vertical
|
|
|
|
IdleInhibit {}
|
|
|
|
Record {
|
|
screenState: root.screenState
|
|
z: 1
|
|
}
|
|
|
|
Toggles {
|
|
Layout.fillWidth: true
|
|
screenState: root.screenState
|
|
}
|
|
}
|
|
}
|