Index: sources/gui/qml/AlarmItem.qml =================================================================== diff -u -r8172c6aa4187be26aa9c0e73a130bc6183ad10dd -rfc7232d29a4f44a99e099edfedb4c6a726a11516 --- sources/gui/qml/AlarmItem.qml (.../AlarmItem.qml) (revision 8172c6aa4187be26aa9c0e73a130bc6183ad10dd) +++ sources/gui/qml/AlarmItem.qml (.../AlarmItem.qml) (revision fc7232d29a4f44a99e099edfedb4c6a726a11516) @@ -32,6 +32,8 @@ */ Item { id : _root + // for lots of request on size change and giving the alarm screen filled with texts this alarm ID created for debugging. + readonly property bool isDebug_AlarmID: vAlarmStatus.alarm_AlarmID === 9999 readonly property bool _DEBUG_DISABLE_MAXIMIZE_: false // due to touch screen issue on some devices, the maximized alarm can't be minimized to see the screen underneath. anchors.fill: parent @@ -118,10 +120,20 @@ NotificationDialog { id : _alarmDialog // this will change later to the actual message text // and the instruction would be in the dialog content - - titleText : vAlarmStatus.title + titleText : ! isDebug_AlarmID ? vAlarmStatus.title + : "01234567890123456789012345678901234" titlePixelSize : Fonts.fontPixelAlarmTitle - description : vAlarmStatus.message + description : ! isDebug_AlarmID ? vAlarmStatus.message + : "1234567890123456789012345678901234567890123456789012345\n" + + "2345678901234567890123456789012345678901234567890123456\n" + + "3456789012345678901234567890123456789012345678901234567\n" + + "4567890123456789012345678901234567890123456789012345678\n" + + "5678901234567890123456789012345678901234567890123456789\n" + + "6789012345678901234567890123456789012345678901234567890\n" + + "7890123456789012345678901234567890123456789012345678901\n" + + "8901234567890123456789012345678901234567890123456789012\n" + + "9012345678901234567890123456789012345678901234567890123\n" + + "0123456789012345678901234567890123456789012345678901234\n" descriptionPixelSize: Fonts.fontPixelAlarmMessage alarmID : vAlarmStatus.alarm_AlarmID isSilenced : vAlarmStatus.alarm_Flag_alarmsSilenced @@ -132,9 +144,10 @@ endVisible : ! vAlarmStatus.alarm_Flag_noEndTreatment minVisible : ! vAlarmStatus.alarm_Flag_noMinimize titleFading : vHDOperationMode.fault - countDown : vTreatmentStop.countDown - countDownVisible : vHDOperationMode.inTreatment && (vHDTreatmentStates.txStop || vHDTreatmentStates.txRinseback) && vTreatmentStop.total - + countDown : ! isDebug_AlarmID ? vTreatmentStop.countDown + : 240 + countDownVisible : ! isDebug_AlarmID ? vHDOperationMode.inTreatment && (vHDTreatmentStates.txStop || vHDTreatmentStates.txRinseback) && vTreatmentStop.total + : true onMuteClicked : vAlarmStatus.doSilence () onResumeClicked : vAlarmStatus.doUserActionResume () onRinsebackClicked : vAlarmStatus.doUserActionRinseback() Index: sources/gui/qml/globals/Fonts.qml =================================================================== diff -u -r53b262fea2d4b5bd78ff878fda0848f3737e7b74 -rfc7232d29a4f44a99e099edfedb4c6a726a11516 --- sources/gui/qml/globals/Fonts.qml (.../Fonts.qml) (revision 53b262fea2d4b5bd78ff878fda0848f3737e7b74) +++ sources/gui/qml/globals/Fonts.qml (.../Fonts.qml) (revision fc7232d29a4f44a99e099edfedb4c6a726a11516) @@ -28,9 +28,9 @@ readonly property int fontPixelSection : 36 readonly property int fontPixelDialogText : 22 - readonly property int fontPixelAlarmTitle : 32 - readonly property int fontPixelAlarmBarTitle : 30 - readonly property int fontPixelAlarmMessage : 28 + readonly property int fontPixelAlarmTitle : 48 + readonly property int fontPixelAlarmBarTitle : 38 + readonly property int fontPixelAlarmMessage : 38 readonly property int fontPixelTouchAreaTitle : 16 Index: sources/gui/qml/main.qml =================================================================== diff -u -rd949be21f2a9badd0978dddaaf436f6805de28dc -rfc7232d29a4f44a99e099edfedb4c6a726a11516 --- sources/gui/qml/main.qml (.../main.qml) (revision d949be21f2a9badd0978dddaaf436f6805de28dc) +++ sources/gui/qml/main.qml (.../main.qml) (revision fc7232d29a4f44a99e099edfedb4c6a726a11516) @@ -398,7 +398,8 @@ anchors.bottom : _mainMenu.top backgroundColor : _alarmItem.backgroundColor textColor : _alarmItem.textColor - text : _alarmItem.title + text :!_alarmItem.isDebug_AlarmID ? _alarmItem.title + : "01234567890123456789012345678901234" textPixelSize : Fonts.fontPixelAlarmBarTitle isSilenced : _alarmItem.isSilenced timeout : _alarmItem.timeout