Port to OverlaySheet.title
This commit is contained in:
@@ -14,9 +14,7 @@ Kirigami.OverlaySheet {
|
||||
|
||||
parent: applicationWindow().overlay
|
||||
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("Create a Room")
|
||||
}
|
||||
title: i18n("Create a Room")
|
||||
|
||||
contentItem: Kirigami.FormLayout {
|
||||
TextField {
|
||||
|
||||
@@ -22,10 +22,7 @@ Kirigami.OverlaySheet {
|
||||
parent: applicationWindow().overlay
|
||||
|
||||
|
||||
header: Kirigami.Heading {
|
||||
text: i18nc("%1 is the room name", "Room Settings - %1", room.displayName)
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
title: i18nc("%1 is the room name", "Room Settings - %1", room.displayName)
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
RowLayout {
|
||||
|
||||
@@ -27,13 +27,7 @@ Kirigami.OverlaySheet {
|
||||
rightPadding: 0
|
||||
topPadding: 0
|
||||
|
||||
header: Kirigami.Heading {
|
||||
id: heading
|
||||
text: i18nc("@title:menu Account detail dialog", "Account detail")
|
||||
elide: Text.ElideRight
|
||||
QQC2.ToolTip.visible: truncated && hovered
|
||||
QQC2.ToolTip.text: text
|
||||
}
|
||||
title: i18nc("@title:menu Account detail dialog", "Account detail")
|
||||
|
||||
contentItem: ColumnLayout {
|
||||
spacing: 0
|
||||
|
||||
@@ -12,9 +12,7 @@ Kirigami.OverlaySheet {
|
||||
|
||||
property string sourceText
|
||||
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("Message Source")
|
||||
}
|
||||
title: i18n("Message Source")
|
||||
|
||||
TextArea {
|
||||
id: sourceTextArea
|
||||
|
||||
@@ -133,9 +133,7 @@ Kirigami.Page {
|
||||
|
||||
property var connection
|
||||
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("Edit Account")
|
||||
}
|
||||
title: i18n("Edit Account")
|
||||
|
||||
Kirigami.FormLayout {
|
||||
RowLayout {
|
||||
|
||||
@@ -82,9 +82,7 @@ Kirigami.Page {
|
||||
|
||||
property var index
|
||||
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("Remove device")
|
||||
}
|
||||
title: i18n("Remove device")
|
||||
Kirigami.FormLayout {
|
||||
Controls.TextField {
|
||||
id: passwordField
|
||||
@@ -107,9 +105,7 @@ Kirigami.Page {
|
||||
property int index
|
||||
property string name
|
||||
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("Edit device")
|
||||
}
|
||||
title: i18n("Edit device")
|
||||
Kirigami.FormLayout {
|
||||
Controls.TextField {
|
||||
id: nameField
|
||||
|
||||
@@ -361,9 +361,7 @@ Kirigami.ApplicationWindow {
|
||||
|
||||
property string url: ""
|
||||
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("User consent")
|
||||
}
|
||||
title: i18n("User consent")
|
||||
|
||||
QQC2.Label {
|
||||
id: label
|
||||
@@ -402,9 +400,7 @@ Kirigami.ApplicationWindow {
|
||||
required property var user;
|
||||
|
||||
parent: QQC2.ApplicationWindow.overlay
|
||||
header: Kirigami.Heading {
|
||||
text: i18n("Start a chat")
|
||||
}
|
||||
title: i18n("Start a chat")
|
||||
contentItem: QQC2.Label {
|
||||
text: i18n("Do you want to start a chat with %1?", user.displayName)
|
||||
wrapMode: Text.WordWrap
|
||||
|
||||
Reference in New Issue
Block a user