Index: sources/gui/qml/pages/treatment/sections/TreatmentTime.qml =================================================================== diff -u -r3676cd80ff97ac0785547e29e63f54b95b53f9f8 -r3afad151e41be500dd32045b7ddce9e10c19dc96 --- sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 3676cd80ff97ac0785547e29e63f54b95b53f9f8) +++ sources/gui/qml/pages/treatment/sections/TreatmentTime.qml (.../TreatmentTime.qml) (revision 3afad151e41be500dd32045b7ddce9e10c19dc96) @@ -25,7 +25,8 @@ /*! * \brief Treatment Screen Treatment Time Remaining section */ -Rectangle { id: _treatmentTime +Rectangle { id: _root + objectName: "TreatmentTime" property int minimum : 0 property int maximum : vTreatmentTime.time_Total property int progressValue : vTreatmentTime.time_Elapsed @@ -41,16 +42,16 @@ VTreatmentTime { id: vTreatmentTime } ProgressCircle { id: _circle - minimum: _treatmentTime.minimum - maximum: _treatmentTime.maximum + minimum: _root.minimum + maximum: _root.maximum anchors.centerIn : parent - value: _treatmentTime.progressValue + value: _root.progressValue } TimeText { id: _timeText anchors.centerIn : parent - seconds : _treatmentTime.timeTextValue + seconds : _root.timeTextValue } Rectangle { id: _timeTitleRect @@ -82,7 +83,7 @@ MouseArea { id: _mouseArea anchors.fill: parent onClicked: { - _treatmentTime.clicked() + _root.clicked() } } }