C
Touch: Safe Touch
// Copyright (C) 2024 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial // This file is part of the Qt Safe Renderer module import Qt.SafeRenderer import QtQuick.Window Window { id: window width: 280 height: 280 visible: true title: qsTr("QSR Touch Example") SafeButton { id: button objectName: "button" width: 64 height: 64 anchors.centerIn: parent } Text { id: clickText text: "Click me!" font.pixelSize: 16 anchors.bottom: button.top anchors.horizontalCenter: button.horizontalCenter anchors.margins: 20 horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter } }