Index: sources/gui/qml/dialogs/AlarmDialog.qml =================================================================== diff -u -rd00eeb4a8b354eade40a0853c022eb03ea4ae233 -r78aa5e70b591b3544ff9d9e6b772fe07deaa2f0f --- sources/gui/qml/dialogs/AlarmDialog.qml (.../AlarmDialog.qml) (revision d00eeb4a8b354eade40a0853c022eb03ea4ae233) +++ sources/gui/qml/dialogs/AlarmDialog.qml (.../AlarmDialog.qml) (revision 78aa5e70b591b3544ff9d9e6b772fe07deaa2f0f) @@ -32,7 +32,7 @@ property int headerOverlap : 30 anchors.fill: parent - color : Colors.modeBackgroundColor + color : Colors.modeBackgroundDialogColor radius : Variables.alarmDialogRadius @@ -93,7 +93,7 @@ } Rectangle { id: _descriptionRect - color : Colors.modeBackgroundColor + color : Colors.modeBackgroundDialogColor clip : true anchors { @@ -117,7 +117,7 @@ ListView {id: _listView anchors { top : _autoStepController.bottom - topMargin : Variables.defaultMargin + topMargin : Variables.defaultMargin * 2 bottom : parent.bottom left : parent.left leftMargin : Variables.defaultMargin * 4 @@ -135,19 +135,19 @@ clip : true Rectangle { id: _stepRect - height : 40 + height : 50 width : height radius : height - color : _delegateControl.ListView.isCurrentItem ? Colors.borderButton : Colors.modeBackgroundColor + color : _delegateControl.ListView.isCurrentItem ? Colors.modeButtonColor : Colors.modeAlarmStepButtonColor border { - color: Colors.borderButton + color: Colors.modeButtonColor width: 2 } Text { id: _stepNumberRect anchors.centerIn: parent text : index + 1 - color : Colors.darkMode ? Colors.offWhite : _delegateControl.ListView.isCurrentItem ? Colors.fixedColor : Colors.borderButton + color : Colors.darkMode ? Colors.offWhite : _delegateControl.ListView.isCurrentItem ? Colors.modeBackgroundColor : Colors.modeButtonColor font.pixelSize : 20 font.weight : Font.Medium } @@ -210,7 +210,7 @@ leftMargin : Variables.defaultMargin * 4 } - color : "#FFECEC" + color : Colors.modeAlarmStopStateColor radius : height Text { id: _astrix @@ -232,11 +232,10 @@ left: _astrix.right } - color : "black" - text : qsTr("Rinseback will not be allowed in:") + color : Colors.modeTextColor + text : qsTr("Return Blood will not be allowed in:") font.pixelSize : 25 font.weight : Font.Medium - } TimeText { id: _timeoutText @@ -279,59 +278,64 @@ onPressed : resumeClicked() text.text : qsTr("Resume") width : _buttonGroup.buttonsWidth + isDefault : Colors.darkMode backgroundColor: Colors.transparent - fgColor : isPressed ? Colors.white : borderColor + fgColor : isPressed ? Colors.offWhite : Colors.modeAlarmButtonPressedColor selectColor : Qt.darker(borderColor, 1.15) pixelSize : Fonts.fontPixelNotification - borderColor : Colors.alarmButton + borderColor : Colors.modeAlarmButtonColor } TouchRect { id : _temporaryBreak visible : temporaryBreakVisible onPressed : temporaryBreakClicked() text.text : qsTr("Temporary Break") width : _buttonGroup.buttonsWidth + isDefault : Colors.darkMode backgroundColor: Colors.transparent - fgColor : isPressed ? Colors.white : borderColor + fgColor : isPressed ? Colors.offWhite : Colors.modeAlarmButtonPressedColor selectColor : Qt.darker(borderColor, 1.15) pixelSize : Fonts.fontPixelNotification - borderColor : Colors.alarmButton + borderColor : Colors.modeAlarmButtonColor } TouchRect { id : _rinsebackTouchRect visible : rinsebackVisible onPressed : rinsebackClicked() text.text : qsTr("Return Blood & End Treatment") width : _buttonGroup.buttonsWidth + isDefault : Colors.darkMode backgroundColor: Colors.transparent - fgColor : isPressed ? Colors.white : borderColor + fgColor : isPressed ? Colors.offWhite : Colors.modeAlarmButtonPressedColor selectColor : Qt.darker(borderColor, 1.15) pixelSize : Fonts.fontPixelNotification - borderColor : Colors.alarmButton + borderColor : Colors.modeAlarmButtonColor } TouchRect { id : _endTouchRect visible : endVisible onPressed : endClicked() text.text : qsTr("End Treatment Only") width : _buttonGroup.buttonsWidth + isDefault : Colors.darkMode backgroundColor: Colors.transparent - fgColor : isPressed ? Colors.white : borderColor + fgColor : isPressed ? Colors.offWhite : Colors.modeAlarmButtonPressedColor selectColor : Qt.darker(borderColor, 1.15) pixelSize : Fonts.fontPixelNotification - borderColor : Colors.alarmButton + borderColor : Colors.modeAlarmButtonColor } TouchRect { id : _okTouchRect visible : okVisible onPressed : okClicked() text.text : qsTr("OK") width : _buttonGroup.buttonsWidth + isDefault : Colors.darkMode backgroundColor: Colors.transparent - fgColor : isPressed ? Colors.white : borderColor + fgColor : isPressed ? Colors.offWhite : Colors.modeAlarmButtonPressedColor selectColor : Qt.darker(borderColor, 1.15) pixelSize : Fonts.fontPixelNotification - borderColor : Colors.alarmButton + borderColor : Colors.modeAlarmButtonColor } } @@ -344,7 +348,7 @@ leftMargin : Variables.defaultMargin * 3 bottomMargin: Variables.defaultMargin } - color : Colors.modeTextColor + color : Colors.modeAlarmListColor font.pixelSize : Fonts.fontPixelAlarmID }