C
Qt Cluster: Rendering and Recovery from Main UI Failure
// Copyright (C) 2023 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause // This file is part of the Qt Safe Renderer module import QtQuick Item { Image { id: carImage height: root.height / 3 anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter fillMode: Image.PreserveAspectFit source:"image://etc/SportCarForParkSensors.png" } Image { anchors.horizontalCenter: carImage.horizontalCenter anchors.leftMargin: 5 anchors.bottom: carImage.bottom anchors.bottomMargin: carImage.height * 0.9 source:"image://etc/ParkingSensorOff.png" z: 1 } Image { scale: -1 anchors.horizontalCenter: carImage.horizontalCenter anchors.leftMargin: 5 anchors.top: carImage.top anchors.topMargin: carImage.height * 0.86 source:"image://etc/ParkingSensorOff.png" z: 1 } }