C

Qt Cluster: Rendering and Recovery from Main UI Failure

// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only

// This file is part of the Qt Safe Renderer module

import QtQuick

Loader {
    id: centerview
    asynchronous: true
    anchors.fill: parent
    source: "CenterView.qml"
    z: -1

    Loader {
        id: dash
        asynchronous: true
        anchors.fill: parent
        source: "Dashboard.qml"
     }

    function stopAll() {
        centerview.item.stopAll()
        dash.item.stopAll()
    }
}