Index: sources/gui/qml/dialogs/AlarmDialog.qml =================================================================== diff -u -r3c0010b123fe25246ec7f040965d0a37e8e9a7cc -rfdddcd8b25b5acc99f8c044c998af0e95752063c --- sources/gui/qml/dialogs/AlarmDialog.qml (.../AlarmDialog.qml) (revision 3c0010b123fe25246ec7f040965d0a37e8e9a7cc) +++ sources/gui/qml/dialogs/AlarmDialog.qml (.../AlarmDialog.qml) (revision fdddcd8b25b5acc99f8c044c998af0e95752063c) @@ -6,6 +6,7 @@ // Qml imports import "qrc:/globals" import "qrc:/components" +import "qrc:/compounds" Item { id : _root @@ -101,18 +102,20 @@ bottom : _timerRect.top } - HelpNotification { id: _infoItem + AutoStepController { id: _autoStepController anchors { left : parent.left leftMargin : Variables.defaultMargin * 4 top : parent.top - topMargin : Variables.defaultMargin * 3 + topMargin : Variables.defaultMargin * 2 } + + onTriggered : _listView.currentIndex = (_listView.currentIndex + 1) % _listView.count } ListView {id: _listView anchors { - top : _infoItem.bottom + top : _autoStepController.bottom topMargin : Variables.defaultMargin bottom : parent.bottom left : parent.left @@ -193,7 +196,7 @@ } } - Rectangle { id: _timerRect + Item { id: _timerRect property int countDown : 0 height : 70 @@ -206,9 +209,6 @@ leftMargin : Variables.defaultMargin * 4 } - color : "#FFECEC" - radius : height - Text { id: _astrix anchors { left: parent.left @@ -229,10 +229,9 @@ } color : "black" - text : qsTr("Rinseback will not be allowed in:") + text : qsTr("Return Blood will not be allowed in:") font.pixelSize : 25 font.weight : Font.Medium - } TimeText { id: _timeoutText