Index: sources/gui/qml/pages/TreatmentStart.qml =================================================================== diff -u -r174d5078531f9dfbe9cdc45274b852984bb72647 -r460df093c4475816fc25d6b4c3ebfc50424ccca3 --- sources/gui/qml/pages/TreatmentStart.qml (.../TreatmentStart.qml) (revision 174d5078531f9dfbe9cdc45274b852984bb72647) +++ sources/gui/qml/pages/TreatmentStart.qml (.../TreatmentStart.qml) (revision 460df093c4475816fc25d6b4c3ebfc50424ccca3) @@ -17,6 +17,8 @@ import QtQuick.Controls 2.12 // Project +import Gui.Actions 0.1; + // Qml imports import "qrc:/globals" import "qrc:/components" @@ -39,4 +41,75 @@ text: qsTr("Start Treatment Placeholder") } } + + Column { + spacing: 20 + topPadding: 100 + leftPadding: 10 + Text { + id: _U32 + text: qsTr("") + width: 250 + horizontalAlignment: Text.AlignRight + color: Colors.textMain + font.pixelSize: Fonts.fontPixelTitle + } + Text { + id: _F32_1 + text: qsTr("") + width: 250 + horizontalAlignment: Text.AlignRight + color: Colors.textMain + font.pixelSize: Fonts.fontPixelTitle + } + Text { + id: _F32_2 + text: qsTr("") + width: 250 + horizontalAlignment: Text.AlignRight + color: Colors.textMain + font.pixelSize: Fonts.fontPixelTitle + } + Text { + id: _F32_3 + text: qsTr("") + width: 250 + horizontalAlignment: Text.AlignRight + color: Colors.textMain + font.pixelSize: Fonts.fontPixelTitle + } + Text { + id: _F32_4 + text: qsTr("") + width: 250 + horizontalAlignment: Text.AlignRight + color: Colors.textMain + font.pixelSize: Fonts.fontPixelTitle + } + Text { + id: _F32_5 + text: qsTr("") + width: 250 + horizontalAlignment: Text.AlignRight + color: Colors.textMain + font.pixelSize: Fonts.fontPixelTitle + } + } + Connections { + target: _GuiView + onDidActionReceive: { + if ( ! visible ) return; + switch(vAction) { + case GuiActions.BloodFlow: + //console.debug(vData) + _U32 .text = vData[0]; + _F32_1.text = vData[1].toFixed(2); + _F32_2.text = vData[2].toFixed(2); + _F32_3.text = vData[3].toFixed(2); + _F32_4.text = vData[4].toFixed(2); + _F32_5.text = vData[5].toFixed(2); + break; + } + } + } }