/*!
 *
 * Copyright (c) 2019-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    ExportButton.qml
 * \author  (last)      Behrouz NematiPour
 * \date    (last)      28-Sep-2022
 * \author  (original)  Behrouz NematiPour
 * \date    (original)  26-Dec-2019
 *
 */

// Qt
import QtQuick 2.12

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

TouchRect { id : _root

    property bool isSmall: false

    property bool disabled : false

    width   : isSmall ? 155 : Variables.touchRectWidth
    height  : isSmall ?  50 : Variables.touchRectHeight

    anchors.margins: 35
    text {
        text: qsTr("Export")
        font.pixelSize: Fonts.fontPixelButton * (isSmall ?  0.75 : 1)
    }
}
