/*!
 *
 * Copyright (c) 2021-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    DiagnosticsDialog.qml
 * \author  (last)      Dara Navaei
 * \date    (last)      05-Mar-2024
 * \author  (original)  Behrouz NematiPour
 * \date    (original)  11-May-2021
 *
 */

// Qt
import QtQuick 2.12

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


Item { id: _root
    property Item contentItem           : null
    property alias contentArea          : _contentArea
    property int spacing                : Variables.defaultMargin * 1.5

    ContentArea { id : _contentArea
        anchors {
            top         : parent.top
            topMargin   : Variables.mainMenuHeight + Variables.defaultMargin
            left        : _root.left
            right       : _root.right
            bottom      : _root.bottom
            margins     : _root.spacing
        }

        contentItem: _root.contentItem
    }
}
