wip
This commit is contained in:
parent
9c3a3e06b2
commit
54c526f548
1 changed files with 86 additions and 58 deletions
|
@ -102,11 +102,40 @@ Column {
|
|||
}
|
||||
}
|
||||
|
||||
// Time and Date header
|
||||
Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
// Date display section
|
||||
Row {
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 12
|
||||
spacing: Appearance.spacing.normal
|
||||
|
||||
// Today's date
|
||||
StyledText {
|
||||
text: Qt.formatDateTime(new Date(), "dd MMM yyyy")
|
||||
font.pointSize: Appearance.font.size.small
|
||||
font.family: Appearance.font.family.mono
|
||||
}
|
||||
|
||||
// Arrow and selected date (when applicable)
|
||||
Row {
|
||||
visible: root.hasSelection
|
||||
spacing: Appearance.spacing.small
|
||||
|
||||
StyledText {
|
||||
text: "→"
|
||||
font.pointSize: Appearance.font.size.small
|
||||
color: Colours.palette.m3onSurfaceVariant
|
||||
}
|
||||
|
||||
StyledText {
|
||||
text: Qt.formatDateTime(root.selectedStartDate, "dd MMM yyyy")
|
||||
font.pointSize: Appearance.font.size.small
|
||||
font.family: Appearance.font.family.mono
|
||||
color: Colours.palette.m3primary
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Time display
|
||||
StyledText {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: root.currentTime
|
||||
|
@ -185,7 +214,6 @@ Column {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Calendar grid
|
||||
Rectangle {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue