Index: sources/gui/qml/globals/Variables.qml =================================================================== diff -u -r5c21e83a3fdc897cb99ac62e1cec0213f411cd73 -r54b6ca60bd6dbd679bb759a110675eee1de8872a --- sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision 5c21e83a3fdc897cb99ac62e1cec0213f411cd73) +++ sources/gui/qml/globals/Variables.qml (.../Variables.qml) (revision 54b6ca60bd6dbd679bb759a110675eee1de8872a) @@ -160,6 +160,9 @@ readonly property real ultrafiltrationMaxDef : 8.000 readonly property int ultrafiltrationPrecision : 3 + // Heparin + readonly property int heparinPrecision : 1 + // Inline Blood Pressures // - Artrial // - Artrial - Entire pressure value range @@ -201,6 +204,11 @@ return notSetVariableText } + // it is prefered to use the regExp instead of the RegExpValidator + // otherwise an extra RegExpValidator object will always created here. + readonly property var regExp_PatientID: /[A-Za-z0-9]{1,20}/ + + readonly property string preTreatmentStepLabelCreate : qsTr("CREATE" ) readonly property string preTreatmentStepLabelConfirm : qsTr("CONFIRM" ) readonly property string preTreatmentStepLabelPriming : qsTr("PRIME" )