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 { height: root.height width: root.width / 3 Image { id: carImage height: root.height / 3 anchors.verticalCenter: parent.verticalCenter anchors.horizontalCenter: parent.horizontalCenter fillMode: Image.PreserveAspectFit source:"qrc:/images/CarForParkSensors.png" } Image { anchors.left: carImage.left anchors.leftMargin: 5 anchors.bottom: carImage.bottom anchors.bottomMargin: carImage.height * 0.86 source:"qrc:/images/ParkingSensorOff.png" z: 1 } Image { scale: -1 anchors.left: carImage.left anchors.leftMargin: 5 anchors.top: carImage.top anchors.topMargin: carImage.height * 0.86 source:"qrc:/images/ParkingSensorOff.png" z: 1 } }