This commit is contained in:
end-4
2025-04-10 02:06:15 +02:00
parent 179be02e0d
commit 91cef5700a
5 changed files with 119 additions and 13 deletions
+22 -8
View File
@@ -22,17 +22,31 @@ Scope {
// Middle section
RowLayout {
anchors.top: parent.top
anchors.bottom: parent.top
anchors.centerIn: parent
implicitWidth: 500
// Rectangle {
// }
RowLayout {
Layout.fillWidth: true
Layout.fillHeight: true
}
// ClockWidget {
// Layout.fillHeight: true
// }
RowLayout {
Layout.fillWidth: true
Layout.fillHeight: true
}
RowLayout {
Layout.fillWidth: true
Layout.fillHeight: true
ClockWidget {
Layout.alignment: Qt.AlignVCenter
}
UtilButtons {
Layout.alignment: Qt.AlignVCenter
}
}
}
+41 -3
View File
@@ -1,6 +1,44 @@
import QtQuick
import "../common"
import QtQuick
import QtQuick.Layouts
Rectangle {
implicitWidth: 200
implicitHeight: 32
color: Appearance.colors.colLayer1
radius: Appearance.rounding.small
RowLayout {
spacing: 4
anchors.centerIn: parent
Text {
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
font.family: Appearance.font.family.title
font.pointSize: Appearance.font.pointSize.large
text: DateTime.time
color: Appearance.colors.colOnLayer1
}
Text {
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
font.family: Appearance.font.family.main
font.pointSize: Appearance.font.pointSize.small
text: "•"
color: Appearance.colors.colOnLayer1
}
Text {
renderType: Text.NativeRendering
verticalAlignment: Text.AlignVCenter
font.family: Appearance.font.family.main
font.pointSize: Appearance.font.pointSize.small
text: DateTime.date
color: Appearance.colors.colOnLayer1
}
}
Text {
text: DateTime.time
}
@@ -0,0 +1,19 @@
import "../common"
import QtQuick
import QtQuick.Layouts
Rectangle {
implicitWidth: 200
implicitHeight: 32
color: Appearance.colors.colLayer1
radius: Appearance.rounding.small
RowLayout {
spacing: 4
anchors.centerIn: parent
}
}