/*!
 *
 * Copyright (c) 2024-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    SettingsInstitutionalRecord.qml
 * \author  (last)      Dara Navaei
 * \date    (last)      19-Mar-2024
 * \author  (original)  Dara Navaei
 * \date    (original)  28-Feb-2024
 *
 */

// Qt
import QtQuick 2.12

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


/*!
 * \brief   SettingsInformation is the screen
 *          which queries the system for the versions and serial numbers and service records
 *          and display them
 */
SettingsBase    { id: _root

    itemIndex       : SettingsStack.InstitutionalRecord

    confirmVisible          : false
    TouchGrid {
        anchors.top             : parent.top
        anchors.topMargin       : 50
        anchors.horizontalCenter: parent.horizontalCenter

        colCount    : 2
        colSpacing  : 50
        rowCount    : 7 // this number indicates when to move to the next column
        rowSpacing  : 0
        itemHeight  : 50
        itemWidth   : 550
        touchable   : false

        itemsValueLeftMargin: 325
        itemsUnitLeftMargin : 465
        itemsValue  : vAdjustmentInstitutionalRecord.parametersText
        itemsUnit   : vAdjustmentInstitutionalRecord.parametersUnit
        itemsText   : vAdjustmentInstitutionalRecord.parametersTitle
    }
}
