C
Localization: Localize Safety-Critical Content
// 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 import Qt.SafeRenderer import QtQuick.Extras Rectangle { id: root width: 768 height: 480 color: "white" property alias text: safeText.text Row { width: 512 height: 128 anchors.centerIn: parent spacing: 8 SafeImage { id: flag objectName: "flag" source: "qrc:/flag.png" width: 128 height: 92 fillColor: "white" } SafeText { id: textItem objectName: "textItem" height: 92 width: 454 color: "black" verticalAlignment: Text.AlignVCenter font.pixelSize: 64 font.family: "HelveticaWorld" fillColor: "white" text: qsTr("Hello world!") } } }