We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ebf25d commit 5ed8b15Copy full SHA for 5ed8b15
src/uicomponents/CMakeLists.txt
@@ -10,6 +10,7 @@ set(MODULE_QML_FILES
10
CustomMenuItem.qml
11
CustomMenuSeparator.qml
12
CustomDialog.qml
13
+ CustomMessageDialog.qml
14
internal/CustomDialogButtonBox.qml
15
)
16
set(MODULE_SRC
src/uicomponents/CustomMessageDialog.qml
@@ -0,0 +1,30 @@
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
+ property string informativeText
+ standardButtons: Dialog.Ok
+ contentItem: RowLayout {
+ spacing: 25
+ // TODO: Add icon
17
18
+ ColumnLayout {
19
+ Label {
20
+ text: root.text
21
+ font.pointSize: 14
22
+ font.bold: true
23
+ }
24
25
26
+ text: root.informativeText
27
28
29
30
+}
0 commit comments