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
1010 CustomMenuItem.qml
1111 CustomMenuSeparator.qml
1212 CustomDialog.qml
13+ CustomMessageDialog.qml
1314 internal /CustomDialogButtonBox.qml
1415)
1516set (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