Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -r9048646630717f980a852df54349805ba63773e0 -r6e18f1d24b8cc3d84d26f46f36f73deb34e54371 --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 9048646630717f980a852df54349805ba63773e0) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 6e18f1d24b8cc3d84d26f46f36f73deb34e54371) @@ -7,6 +7,8 @@ property alias menuHidden : _headerMenu.hidden property alias headerMenuIndex : _headerMenu.index + property alias titleText : _title.text + property alias loggedUser : _loggedInUser.text width : Variables.applicationWidth height : Variables.headerHeight @@ -36,13 +38,31 @@ } } + Text { id: _loggedInUser + color : Colors.textMain + anchors.top : parent.top + anchors.horizontalCenter: parent.horizontalCenter + horizontalAlignment : Text.AlignHCenter + verticalAlignment : Text.AlignVCenter + font.pixelSize : Fonts.fontHeaderbarUser + } + + Text { id: _title + color : Colors.textMain + anchors.centerIn : parent + horizontalAlignment : Text.AlignHCenter + verticalAlignment : Text.AlignVCenter + font.pixelSize : Fonts.fontHeaderbarTitle + font.weight : Font.DemiBold + + } + Item { id: _dateTimeItem width : Variables.headerBarDateTimeWidth anchors { top : parent.top left : parent.left bottom : parent.bottom - margins : 10 } Column { id: _dateTimeColumn @@ -54,8 +74,10 @@ height : parent.height * 3/5 horizontalAlignment : Text.AlignHCenter verticalAlignment : Text.AlignVCenter - text : vDateTime.time - font.pixelSize: 40 + text : vDateTime.time + font.pixelSize : Fonts.fontHeaderbarTime + font.weight : Font.DemiBold + } Text { id: _dateText @@ -65,7 +87,7 @@ horizontalAlignment : Text.AlignHCenter verticalAlignment : Text.AlignVCenter text : vDateTime.date - font.pixelSize: 25 + font.pixelSize: Fonts.fontHeaderbarDate } } } @@ -83,7 +105,7 @@ height : 15 width : _root.width / 5 text : vDateTime.timezone - font.pixelSize: 14 + font.pixelSize: Fonts.fontHeaderbarTimezone } MainMenu { id: _headerMenu