Index: leahi.qrc =================================================================== diff -u -rfb1185f1c17778a9f8b300170d8d635a1532f6b4 -ra70ed53a325b45337e7699656491c4e4a6c6ebce --- leahi.qrc (.../leahi.qrc) (revision fb1185f1c17778a9f8b300170d8d635a1532f6b4) +++ leahi.qrc (.../leahi.qrc) (revision a70ed53a325b45337e7699656491c4e4a6c6ebce) @@ -131,6 +131,7 @@ resources/images/recirculate_main.png resources/images/bloodpump.png resources/images/edit_yellow.png + resources/images/leahi-console.png resources/images/moon.png resources/images/sun.png resources/images/carbon_filter_1.png @@ -182,7 +183,7 @@ sources/gui/qml/components/Footer.qml sources/gui/qml/components/TextEntry.qml sources/gui/qml/components/ScrollBar.qml - sources/gui/qml/components/ScrollBar2.qml + sources/gui/qml/components/ScrollBarVH.qml sources/gui/qml/components/FooterStatic.qml sources/gui/qml/components/TimeEntry.qml sources/gui/qml/components/Label.qml @@ -204,7 +205,6 @@ sources/gui/qml/components/SubStepIndicator.qml sources/gui/qml/components/SDCInfo.qml sources/gui/qml/components/BaseChart.qml - sources/gui/qml/components/HelpNotification.qml sources/gui/qml/compounds/PressureRangeSlider.qml @@ -224,6 +224,7 @@ sources/gui/qml/compounds/SettingsSlider.qml sources/gui/qml/compounds/AutoStepController.qml sources/gui/qml/compounds/InteractiveImage.qml + sources/gui/qml/compounds/ProcessStatusView.qml qtquickcontrols2.conf @@ -346,5 +347,8 @@ sources/gui/qml/pages/posttreatment/PostTreatmentBase.qml sources/gui/qml/pages/posttreatment/PostTreatmentStack.qml sources/gui/qml/pages/posttreatment/PostTreatmentReview.qml + sources/gui/qml/pages/posttreatment/PostTreatmentDisconnectStack.qml + sources/gui/qml/pages/posttreatment/PostTreatmentDrainConsumables.qml + sources/gui/qml/pages/posttreatment/PostTreatmentDisinfection.qml Index: sources/gui/qml/dialogs/AlarmDialog.qml =================================================================== diff -u -rfdddcd8b25b5acc99f8c044c998af0e95752063c -ra70ed53a325b45337e7699656491c4e4a6c6ebce --- sources/gui/qml/dialogs/AlarmDialog.qml (.../AlarmDialog.qml) (revision fdddcd8b25b5acc99f8c044c998af0e95752063c) +++ sources/gui/qml/dialogs/AlarmDialog.qml (.../AlarmDialog.qml) (revision a70ed53a325b45337e7699656491c4e4a6c6ebce) @@ -8,8 +8,6 @@ import "qrc:/components" import "qrc:/compounds" -Item { id : _root - property alias titleText : _title.text property alias titlePixelSize : _title.font.pixelSize property alias instructionModel : _listView.model @@ -33,7 +31,10 @@ property int headerOverlap : 30 anchors.fill: parent + color : Colors.modeBackgroundDialogColor + radius : Variables.alarmDialogRadius + signal muteClicked() signal minimizeClicked() signal listClicked() @@ -91,7 +92,7 @@ } Rectangle { id: _descriptionRect - color : Colors.offWhite + color : Colors.modeBackgroundDialogColor clip : true anchors { @@ -134,19 +135,19 @@ clip : true Rectangle { id: _stepRect - height : 40 + height : 50 width : height radius : height - color : _delegateControl.ListView.isCurrentItem ? Colors.backgroundMainMenu : Colors.offWhite + color : _delegateControl.ListView.isCurrentItem ? Colors.modeButtonColor : Colors.modeAlarmStepButtonColor border { - color: Colors.backgroundMainMenu + color: Colors.modeButtonColor width: 2 } Text { id: _stepNumberRect anchors.centerIn: parent text : index + 1 - color : _delegateControl.ListView.isCurrentItem ? Colors.offWhite : Colors.backgroundMainMenu + color : Colors.darkMode ? Colors.offWhite : _delegateControl.ListView.isCurrentItem ? Colors.modeBackgroundColor : Colors.modeButtonColor font.pixelSize : 20 font.weight : Font.Medium } @@ -172,8 +173,8 @@ height : parent.height width : parent.width font.pixelSize : Fonts.fontPixelInstructionStep - font.weight : _delegateControl.ListView.isCurrentItem ? Font.DemiBold : Font.Normal - color : _delegateControl.ListView.isCurrentItem ? "#18559E" : Colors.alarmDialogText + font.weight : _delegateControl.ListView.isCurrentItem ? Font.DemiBold : Font.Normal + color : _delegateControl.ListView.isCurrentItem ? Colors.modeSelctedColor : Colors.modeTextColor text : model.instruction wrapMode : Text.WordWrap } @@ -209,6 +210,9 @@ leftMargin : Variables.defaultMargin * 4 } + color : Colors.modeAlarmStopStateColor + radius : height + Text { id: _astrix anchors { left: parent.left @@ -228,7 +232,7 @@ left: _astrix.right } - color : "black" + color : Colors.modeTextColor text : qsTr("Return Blood will not be allowed in:") font.pixelSize : 25 font.weight : Font.Medium @@ -274,60 +278,64 @@ onPressed : resumeClicked() text.text : qsTr("Resume") width : _buttonGroup.buttonsWidth - isDefault : true - backgroundColor: Colors.white - fgColor : isPressed ? Colors.white : borderColor + isDefault : Colors.darkMode + backgroundColor: Colors.transparent + 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 - backgroundColor: Colors.white - fgColor : isPressed ? Colors.white : borderColor + isDefault : Colors.darkMode + backgroundColor: Colors.transparent + 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 - backgroundColor: Colors.white - fgColor : isPressed ? Colors.white : borderColor + isDefault : Colors.darkMode + backgroundColor: Colors.transparent + 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 - backgroundColor: Colors.white - fgColor : isPressed ? Colors.white : borderColor + isDefault : Colors.darkMode + backgroundColor: Colors.transparent + 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 - backgroundColor: Colors.white - fgColor : isPressed ? Colors.white : borderColor + isDefault : Colors.darkMode + backgroundColor: Colors.transparent + fgColor : isPressed ? Colors.offWhite : Colors.modeAlarmButtonPressedColor selectColor : Qt.darker(borderColor, 1.15) pixelSize : Fonts.fontPixelNotification - borderColor : Colors.alarmButton + borderColor : Colors.modeAlarmButtonColor } } @@ -340,7 +348,7 @@ leftMargin : Variables.defaultMargin * 3 bottomMargin: Variables.defaultMargin } - color : Colors.alarmDialogGreyText + color : Colors.modeAlarmListColor font.pixelSize : Fonts.fontPixelAlarmID } Index: sources/gui/qml/dialogs/AlarmListDialog.qml =================================================================== diff -u -rfdddcd8b25b5acc99f8c044c998af0e95752063c -ra70ed53a325b45337e7699656491c4e4a6c6ebce --- sources/gui/qml/dialogs/AlarmListDialog.qml (.../AlarmListDialog.qml) (revision fdddcd8b25b5acc99f8c044c998af0e95752063c) +++ sources/gui/qml/dialogs/AlarmListDialog.qml (.../AlarmListDialog.qml) (revision a70ed53a325b45337e7699656491c4e4a6c6ebce) @@ -25,7 +25,7 @@ /*! * \brief Contains the Alarm Dialog Implementation */ -Item { id : _root +Rectangle { id : _root property alias titleText : _title.text; property alias titleBarForeground : _title.color @@ -35,10 +35,12 @@ property int alarmID : -1 property bool minVisible : true - property color contentbackgroundColor : Colors.offWhite + property color contentbackgroundColor : Colors.modeBackgroundDialogColor property int headerOverlap : 30 anchors.fill: parent + color : Colors.modeBackgroundDialogColor + radius : Variables.alarmDialogRadius signal muteClicked() signal minimizeClicked() @@ -115,7 +117,7 @@ visible : ! vAlarmActiveList.adjustment_Accepted text : vAlarmActiveList.status objectName: "_NotificationDialog_Description" - color: Colors.alarmDialogText + color: Colors.modeAlarmListColor font.pixelSize: Fonts.fontPixelButton anchors { horizontalCenter: parent.horizontalCenter; @@ -139,8 +141,8 @@ itemWidth : width rowSpacing : 0 colSpacing : 0 - lineColor : Colors.alarmDialogText - textColor : Colors.alarmDialogText + lineColor : Colors.modeAlarmListColor + textColor : Colors.modeAlarmListColor itemsText : vAlarmActiveList.alarmIDs itemsValue : vAlarmActiveList.alarmTexts itemsTouchable : [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ]