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