Revision control
Copy as Markdown
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick
import QtQuick.Controls
import QtQuick.Dialogs
CustomDialog {
id: root
title: qsTr("Clear Node View")
width: 320
height: 200
modal: true
focus: true
standardButtons: Dialog.Yes | Dialog.No
closePolicy: Popup.NoAutoClose
Text {
text: "Are you sure you want to delete all nodes?"
font.pixelSize: 14
color: mainView.foregroundColor2
}
onAccepted: {
effectManager.cleanupNodeView(true);
}
}