Index: sources/gui/qml/components/HeaderBar.qml =================================================================== diff -u -red8be1a75c2b1b3cc9f5e919fd38e135f707eac6 -r44eb40bd3d3676d972c035a8fad1bf51eb01f4af --- sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision ed8be1a75c2b1b3cc9f5e919fd38e135f707eac6) +++ sources/gui/qml/components/HeaderBar.qml (.../HeaderBar.qml) (revision 44eb40bd3d3676d972c035a8fad1bf51eb01f4af) @@ -51,27 +51,13 @@ } } - Text { id: _version // TEST : Application version should be moved into the information screen later. + Text { id: _timeZone // TEST : Current timezone color : Colors.textMain anchors { top : parent.top left : parent.left + leftMargin : parent.width / 5 } - horizontalAlignment : Text.AlignHCenter - verticalAlignment : Text.AlignBottom - - height : 15 - width : _root.width / 4 - text : Qt.application.version //DEBUG: + "[" + _GuiView.platform + "]" - font.pixelSize: 14 - } - - Text { id: _timeZone // TEST : Current timezone - color : Colors.textMain - anchors { - top : parent.top - left : _version.right - } horizontalAlignment : Text.Alignleft verticalAlignment : Text.AlignBottom @@ -95,11 +81,7 @@ highlightHeight : 15 isMainTreatment : true - onHiddenChanged: { - if (hidden) { - index = 0 - } - } + onHiddenChanged: { if (hidden) { index = 0 } } } Row { id: _headerButtonRow @@ -116,7 +98,7 @@ iconImageSource : "qrc:/images/iPrescription" extraSpace : _headerButtonRow.spacing - onPressed: print("Prescription button pressed!") + onPressed : print("Prescription button pressed!") } IconButton { id : _wifiButton @@ -131,39 +113,39 @@ iconImageSource : "qrc:/images/iBluetooth" extraSpace : _headerButtonRow.spacing - onPressed: print("Bluetooth button pressed!") + onPressed : print("Bluetooth button pressed!") } IconButton { id : _cloudSyncButton iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iCloudSync" extraSpace : _headerButtonRow.spacing - onPressed: print("CloudSync button pressed!") + onPressed : print("CloudSync button pressed!") } IconButton { id : _storageButton iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iStorage" extraSpace : _headerButtonRow.spacing - onPressed: print("Storage button pressed!") + onPressed : print("Storage button pressed!") } IconButton { id : _settingsButton iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iSettings" extraSpace : _headerButtonRow.spacing - onPressed: print("Settings button pressed!") + onPressed : print("Settings button pressed!") } IconButton { id : _informationButton iconSize : Variables.headerIconDiameter iconImageSource : "qrc:/images/iInformation" extraSpace : _headerButtonRow.spacing - onPressed: print("Information button pressed!") + onPressed : _informationDialog.openDialog(_informationButton) } } }