blob: b5f67672ea9870a6b85dd68e431ced885adb28a3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// 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("Delete Selected Nodes")
width: 320
height: 200
modal: true
focus: true
standardButtons: Dialog.Yes | Dialog.No
closePolicy: Popup.NoAutoClose
Text {
width: parent.width
text: "Are you sure you want to delete the selected nodes?"
font.pixelSize: 14
color: mainView.foregroundColor2
wrapMode: Text.WordWrap
}
onAccepted: {
mainView.nodeViewItem.deleteSelectedNodes();
}
}
|