File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ set(MODULE_QML_FILES
10
10
CustomMenuItem.qml
11
11
CustomMenuSeparator.qml
12
12
CustomDialog.qml
13
+ CustomMessageDialog.qml
13
14
internal /CustomDialogButtonBox.qml
14
15
)
15
16
set (MODULE_SRC
Original file line number Diff line number Diff line change
1
+ // SPDX-License-Identifier: GPL-3.0-or-later
2
+
3
+ import QtQuick
4
+ import QtQuick.Layouts
5
+ import QtQuick.Controls
6
+
7
+ CustomDialog {
8
+ id: root
9
+ property string text
10
+ property string informativeText
11
+ standardButtons: Dialog .Ok
12
+
13
+ contentItem: RowLayout {
14
+ spacing: 25
15
+
16
+ // TODO: Add icon
17
+
18
+ ColumnLayout {
19
+ Label {
20
+ text: root .text
21
+ font .pointSize : 14
22
+ font .bold : true
23
+ }
24
+
25
+ Label {
26
+ text: root .informativeText
27
+ }
28
+ }
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments