1
0

qml: allow wizard pages to supply title suffix

This commit is contained in:
Sander van Grieken
2022-11-08 17:45:57 +01:00
parent 428ba209f4
commit 3c903d8fd7
2 changed files with 2 additions and 1 deletions

View File

@@ -167,7 +167,7 @@ Dialog {
}
Label {
text: title
text: title + (pages.currentItem.title ? ' - ' + pages.currentItem.title : '')
elide: Label.ElideRight
Layout.fillWidth: true
topPadding: constants.paddingXLarge

View File

@@ -8,6 +8,7 @@ Item {
property bool valid
property bool last: false
property bool ready: false
property string title: ''
onAccept: {
apply()