29 lines
684 B
QML
29 lines
684 B
QML
pragma ComponentBehavior: Bound
|
|
|
|
import qs.services
|
|
import qs.config
|
|
import qs.custom
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
|
|
ColumnLayout {
|
|
anchors.centerIn: parent
|
|
anchors.verticalCenterOffset: -2
|
|
spacing: -6
|
|
|
|
CustomText {
|
|
Layout.alignment: Qt.AlignHCenter
|
|
text: Time.format("hh:mm:ss")
|
|
color: Config.colors.secondary
|
|
font.family: Config.font.family.mono
|
|
font.pointSize: Config.font.size.largest
|
|
font.weight: 600
|
|
}
|
|
|
|
CustomText {
|
|
Layout.alignment: Qt.AlignHCenter
|
|
text: Time.format("dddd, yyyy-MM-dd")
|
|
color: Config.colors.tertiary
|
|
font.pointSize: Config.font.size.normal
|
|
}
|
|
}
|