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 DashboardBackgroundForm { id: dashboard state: "normal" Timer { running: true interval: 100 onTriggered: dashboard.state = "normal" repeat: false } transitions: [ Transition { from: "*" to: "*" SequentialAnimation { ParallelAnimation { PropertyAnimation { target: dashboard.image properties: "opacity" duration: 1500 } /* PropertyAnimation { target: dashboard.leftGauge properties: "scale, opacity" duration: 2000 easing.type: Easing.InOutQuad } PropertyAnimation { target: dashboard.rightGauge properties: "scale, opacity" duration: 2000 easing.type: Easing.InOutQuad }*/ SequentialAnimation { PauseAnimation { duration: 200 } PropertyAnimation { properties: "x,y" duration: 800 easing.type: Easing.InOutQuad } } SequentialAnimation { PauseAnimation { duration: 1000 } PropertyAnimation { target: dashboard property: "scale" easing.type: Easing.InOutQuad duration: 300 } /* ParallelAnimation { PropertyAnimation { target: dashboard.gadget properties: "opacity, scale" duration: 1000 } PropertyAnimation { target: dashboard.gadget2 properties: "opacity, scale" duration: 1000 } } ParallelAnimation { PropertyAnimation { target: dashboard.leftGadget properties: "opacity, scale" duration: 400 } PropertyAnimation { target: dashboard.rightGadget properties: "opacity, scale" duration: 400 } PropertyAnimation { target: dashboard.center properties: "opacity, scale" duration: 400 } PropertyAnimation { target: dashboard.bar properties: "opacity, scale" duration: 800 } }*/ } } } } ] }