/*!
 *
 * Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved.
 * \copyright
 * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN
 * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER.
 *
 * \file    TreatmentFlows.qml
 * \author  (last)      Behrouz NematiPour
 * \date    (last)      14-Mar-2023
 * \author  (original)  Behrouz NematiPour
 * \date    (original)  27-Jan-2020
 *
 */

// Qt
import QtQuick 2.12

// Project

//  Qml imports
import "qrc:/globals"
import "qrc:/components"

/*!
 * \brief   Treatment Screen Flows section
 */
TouchArea { id: _root
    x       : 0
    y       : 0
    title   : qsTr("FLOWS")
    width   : 370

    Row {
        spacing: 40
        anchors.top: _root.top
        anchors.topMargin: 40
        TextRect { id: _bloodFlow
            title : qsTr("Blood")
            label : Variables.notSetVariable(vTreatmentBloodFlow.bloodFlow_PresFlow)
            extra : Variables.unitTextFlowRate
            labelFont.weight: Font.ExtraLight
            width : 180
            height: 200
        }
        TextRect { id: _dialysateInletFlow
            title: qsTr("Dialysate")
            label: Variables.notSetVariable(vTreatmentDialysateFlow.dialysateFlow_PresFlow)
            extra: Variables.unitTextFlowRate
            labelFont.weight: Font.ExtraLight
            width: 180
            height: 200
        }
    }
}
