72 lines
1.1 KiB
QML
72 lines
1.1 KiB
QML
import QtQuick
|
|
import QtQuick.Layouts
|
|
import qs.Components
|
|
import qs.Helpers
|
|
import ZShell.Config
|
|
import qs.Services
|
|
|
|
CustomClippingRect {
|
|
id: root
|
|
|
|
required property var lock
|
|
|
|
implicitHeight: layout.implicitHeight
|
|
implicitWidth: layout.implicitWidth
|
|
radius: Tokens.rounding.large
|
|
|
|
RowLayout {
|
|
id: layout
|
|
|
|
anchors.fill: parent
|
|
spacing: Tokens.spacing.large * 2
|
|
|
|
ColumnLayout {
|
|
Layout.fillWidth: true
|
|
spacing: Tokens.spacing.normal
|
|
|
|
WeatherInfo {
|
|
id: weather
|
|
|
|
Layout.fillWidth: true
|
|
rootHeight: root.height
|
|
}
|
|
|
|
Resources {
|
|
id: resources
|
|
|
|
Layout.fillWidth: true
|
|
}
|
|
|
|
Media {
|
|
id: media
|
|
|
|
Layout.fillHeight: true
|
|
Layout.fillWidth: true
|
|
lock: root.lock
|
|
}
|
|
}
|
|
|
|
Center {
|
|
lock: root.lock
|
|
}
|
|
|
|
ColumnLayout {
|
|
Layout.fillWidth: true
|
|
spacing: Tokens.spacing.normal
|
|
|
|
CustomRect {
|
|
Layout.fillHeight: true
|
|
Layout.fillWidth: true
|
|
bottomRightRadius: Tokens.rounding.large
|
|
color: Colors.tPalette.m3surfaceContainer
|
|
radius: Tokens.rounding.small
|
|
topRightRadius: Tokens.rounding.large
|
|
|
|
NotifDock {
|
|
lock: root.lock
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|