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 import ".." import ClusterDemo Loader { id: speedoMeter asynchronous: true source: "SpeedoMeter_painter.qml" //source: "SpeedoMeter_vertex.qml" //source: "SpeedoMeter.qml" property int value: 150 property alias rotation: speed_rot transform: Rotation { id: speed_rot origin.x: speedoMeter.width / 2 origin.y: speedoMeter.height / 2 axis { x: 0; y: 1; z: 0 } angle: ValueSource.runningInDesigner ? 0 : 90 // the default angle } }