Index: sources/gui/qml/pages/TreatmentStart.qml =================================================================== diff -u -ra9c98aee00fd5339b969b353926dccf72b0d496f -r00e025a5d672cae66e592608792c17d98be54d19 --- sources/gui/qml/pages/TreatmentStart.qml (.../TreatmentStart.qml) (revision a9c98aee00fd5339b969b353926dccf72b0d496f) +++ sources/gui/qml/pages/TreatmentStart.qml (.../TreatmentStart.qml) (revision 00e025a5d672cae66e592608792c17d98be54d19) @@ -110,22 +110,26 @@ // ---------- COLUMN RIGHT TouchArea { id: _ultrafiltrationTouchArea clip: false - x: rightColumnX - y: row1Y - width: _flowsTouchArea.width - height: 200 - isTouchable: true - orientation: TouchArea.Orientation.Vertical - title: qsTr("ULTRAFILTRATION VOLUME") + " " + qsTr("(mL)") + x : rightColumnX + y : row1Y + width : _flowsTouchArea.width + height : 200 + isTouchable : true + orientation : TouchArea.Orientation.Vertical + title : qsTr("ULTRAFILTRATION VOLUME") + " " + qsTr("(mL)") + ProgressBar { id: _progressbar - property int r: Math.floor(Math.random() * 5000 + 1000) - y: 75 - width: parent.width + y : 75 + width : parent.width + height : Variables.progressbarHeight + value : 0 + // TEST : simulation code - minimum: 0 // TEST : only test values - medimum: 3000 // TEST : only test values - maximum: 4000 // TEST : only test values + property int r: Math.floor(Math.random() * 5000 + 1000) + minimum : 0 // TEST : only test values + maximum : 4000 // TEST : only test values + valueEx : 3000 // TEST : only test values NumberAnimation on value { duration: 50000 /*_progressbar.r*/; from: _progressbar.minimum; to: _progressbar.maximum; loops: Animation.Infinite; } } } @@ -147,15 +151,15 @@ text.text: qsTr("START BOLUS (100 mL)") text.font { weight: Font.DemiBold - pixelSize : 20 - letterSpacing: 3 + pixelSize : 20 + letterSpacing : 3 } animated: true duration: 100 } } - Line { x: rightLinesX; y: row2LineY; length: lineLength } + Line { x: rightLinesX; y: row2LineY; length: lineLength; } TouchArea { id: _solutionInfusionTouchArea x: rightColumnX