/*!
 *
 * 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    TreatmentUltrafiltration.qml
 * \date    2020/01/27
 * \author  Behrouz NematiPour
 *
 */

// Qt
import QtQuick 2.12
import QtQuick.Controls 2.12

// Project
import Gui.Actions 0.1;

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

/*!
 * \brief   Treatment Screen Ultrafiltration section
 */
TouchArea { id: _root
    property alias  minimum : _progressbar.minimum
    property alias  maximum : _progressbar.maximum
    property alias  value   : _progressbar.value
    property alias  valueEx : _progressbar.valueEx

    clip: false
    x   : rightColumnX
    y   : row1Y
    width   : _flowsTouchArea.width
    height  : 200
    isTouchable : true
    orientation : TouchArea.Orientation.Vertical
    title   : qsTr("ULTRAFILTRATION VOLUME") + " " + qsTr("(mL)")

    ProgressBar { id: _progressbar
        y       : 75
        width   : parent.width
        height  : Variables.progressbarHeight
        value   : vTreatmentUltrafiltration.ultrafiltration_MeasUFVol.toFixed(2);
        valueEx : 0
    }
}
