Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -r0808e668ca656c86185c3fa69e4a70dbdb4192c9 -red8be1a75c2b1b3cc9f5e919fd38e135f707eac6 --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 0808e668ca656c86185c3fa69e4a70dbdb4192c9) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision ed8be1a75c2b1b3cc9f5e919fd38e135f707eac6) @@ -1,7 +1,7 @@ import QtQuick 2.12 -import "qrc:/globals" import "qrc:/components" +import "qrc:/globals" Rectangle { id: _root @@ -25,8 +25,10 @@ bottom : parent.bottom margins : 10 } + Column { id: _dateTimeColumn anchors.fill: parent + Text { id: _timeText color : Colors.textMain width : parent.width @@ -36,6 +38,7 @@ text : vDateTime.time font.pixelSize: 40 } + Text { id: _dateText color : Colors.textMain width : parent.width @@ -63,7 +66,7 @@ font.pixelSize: 14 } - Text { id: _ipAddress // TEST : Wireless IP + Text { id: _timeZone // TEST : Current timezone color : Colors.textMain anchors { top : parent.top @@ -74,22 +77,6 @@ height : 15 width : _root.width / 5 - - text : "W: " + vDevice.ipAddress - font.pixelSize: 15 - } - - Text { id: _timeZone // TEST : Current timezone - color : Colors.textMain - anchors { - top : parent.top - left : _ipAddress.right - } - horizontalAlignment : Text.Alignleft - verticalAlignment : Text.AlignBottom - - height : 15 - width : _root.width / 5 text : vDateTime.timezone font.pixelSize: 14 } @@ -117,11 +104,11 @@ Row { id: _headerButtonRow height : parent.height - spacing : Variables.defaultMargin * 2 + spacing : 30 anchors { verticalCenter: parent.verticalCenter - right : parent.right - rightMargin : _headerButtonRow.spacing + right : parent.right + rightMargin : _headerButtonRow.spacing } IconButton { id : _prescriptionButton @@ -136,8 +123,7 @@ iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iWifi" extraSpace : _headerButtonRow.spacing - - onPressed: print("Wifi button pressed!") + onPressed : _wifiDialog.openDialog(_wifiButton) } IconButton { id : _bluetoothButton