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

// Qt
import QtQuick 2.12

// Project

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

/*!
 * \brief   Treatment Screen Flows section
 */
TouchArea { id: _root
    property string unit : qsTr("mL/min")
    x       : 0
    y       : 0
    title   : qsTr("FLOWS")
    width   : 370
    componentsHSpacing: 15
    components: [
        TextRect { id: _bloodFlow
            title: qsTr("Blood")
            label: vTreatmentBloodFlow.bloodFlow_FlowSetPoint
            extra: unit
            labelFont.weight: Font.ExtraLight
            width: 180
        } ,
        TextRect { id: _dialysateInletFlow
            title: qsTr("Dialysate")
            label: vTreatmentDialysateFlow.dialysateFlow_FlowSetPoint
            extra: unit
            labelFont.weight: Font.ExtraLight
            width: 180
        }
    ]
}
