C

Event Sender: Sending Messages to Applications

// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial

// This file is part of the Qt Safe Renderer module
import QtQuick

Item {
    width: 75
    height: 85
    property alias icon: buttonHolderButton.icon
    property alias iconPressed: buttonHolderButton.iconPressed
    property alias text: buttonHolderText.text
    property alias blinkingEnabled: buttonHolderButton.blinkingEnabled
    property alias blink: buttonHolderButton.blink
    property alias pressed: buttonHolderButton.pressed
    property alias mouseEnabled: buttonHolderButton.mouseEnabled

    function synchronize() {
        buttonHolderButton.synchronize()
    }

    Button {
        id: buttonHolderButton
    }

    Text {
        id: buttonHolderText
        anchors {
            top: buttonHolderButton.bottom
            topMargin: 7
            horizontalCenter: parent.horizontalCenter
        }
        font.pixelSize: 12
        wrapMode: Text.Wrap
        horizontalAlignment: Text.AlignHCenter
    }
}