qml: allow wizard pages to supply title suffix
This commit is contained in:
@@ -167,7 +167,7 @@ Dialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Label {
|
Label {
|
||||||
text: title
|
text: title + (pages.currentItem.title ? ' - ' + pages.currentItem.title : '')
|
||||||
elide: Label.ElideRight
|
elide: Label.ElideRight
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
topPadding: constants.paddingXLarge
|
topPadding: constants.paddingXLarge
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ Item {
|
|||||||
property bool valid
|
property bool valid
|
||||||
property bool last: false
|
property bool last: false
|
||||||
property bool ready: false
|
property bool ready: false
|
||||||
|
property string title: ''
|
||||||
|
|
||||||
onAccept: {
|
onAccept: {
|
||||||
apply()
|
apply()
|
||||||
|
|||||||
Reference in New Issue
Block a user