C
Qt Cluster: Rendering and Recovery from Main UI Failure
// 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 ".." import "." import ClusterDemo import Qt.SafeRenderer SafeImage { id: turnleft anchors.left: parent.left objectName: "turnleft" opacity: 1.0 source: "qrc:/images/Icon_TurnLeft_ON.png" height: 72 width: 72 states: [ State { name: "visible" PropertyChanges { target: turnleft opacity: 1.0 } }, State { name: "hidden" PropertyChanges { target: turnleft opacity: 0.0 } } ] transitions: [ Transition { from: "*" to: "*" NumberAnimation { target: turnleft properties: "opacity" duration: 1000 easing.type: Easing.InOutQuad } } ] }