mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-07 02:23:19 +02:00
misc: avoid unwanted richtext
GitLab: #784 Change-Id: I0dde4ef53d7b2471ff0aa9cba1bee463542d0573
This commit is contained in:
parent
2077041c04
commit
d55b7ecb8e
4 changed files with 14 additions and 0 deletions
|
@ -131,6 +131,8 @@ Label {
|
|||
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
|
||||
|
||||
text: CurrentAccount.bestName
|
||||
textFormat: TextEdit.PlainText
|
||||
|
||||
font.pointSize: JamiTheme.textFontSize
|
||||
color: JamiTheme.textColor
|
||||
elide: Text.ElideRight
|
||||
|
@ -145,6 +147,8 @@ Label {
|
|||
visible: text.length && text !== bestNameText.text
|
||||
|
||||
text: CurrentAccount.bestId
|
||||
textFormat: TextEdit.PlainText
|
||||
|
||||
font.pointSize: JamiTheme.textFontSize
|
||||
color: JamiTheme.faddedLastInteractionFontColor
|
||||
elide: Text.ElideRight
|
||||
|
|
|
@ -84,6 +84,7 @@ Popup {
|
|||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: JamiStrings.addAccount + "+"
|
||||
textFormat: TextEdit.PlainText
|
||||
color: JamiTheme.textColor
|
||||
font.pointSize: JamiTheme.textFontSize
|
||||
}
|
||||
|
|
|
@ -70,6 +70,8 @@ ItemDelegate {
|
|||
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
|
||||
|
||||
text: Alias
|
||||
textFormat: TextEdit.PlainText
|
||||
|
||||
font.pointSize: JamiTheme.textFontSize
|
||||
color: JamiTheme.textColor
|
||||
elide: Text.ElideRight
|
||||
|
@ -82,6 +84,8 @@ ItemDelegate {
|
|||
visible: text.length && Alias != Username
|
||||
|
||||
text: Username
|
||||
textFormat: TextEdit.PlainText
|
||||
|
||||
font.pointSize: JamiTheme.textFontSize
|
||||
color: JamiTheme.faddedLastInteractionFontColor
|
||||
elide: Text.ElideRight
|
||||
|
|
|
@ -110,6 +110,7 @@ ItemDelegate {
|
|||
Layout.alignment: Qt.AlignVCenter
|
||||
elide: Text.ElideMiddle
|
||||
text: Title === undefined ? "" : Title
|
||||
textFormat: TextEdit.PlainText
|
||||
font.pointSize: JamiTheme.smartlistItemFontSize
|
||||
font.weight: UnreadMessagesCount ? Font.Bold : Font.Normal
|
||||
color: JamiTheme.textColor
|
||||
|
@ -127,6 +128,7 @@ ItemDelegate {
|
|||
Text {
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: LastInteractionDate === undefined ? "" : LastInteractionDate
|
||||
textFormat: TextEdit.PlainText
|
||||
font.pointSize: JamiTheme.smartlistItemInfoFontSize
|
||||
font.weight: UnreadMessagesCount ? Font.DemiBold : Font.Normal
|
||||
color: JamiTheme.textColor
|
||||
|
@ -140,6 +142,7 @@ ItemDelegate {
|
|||
text: Draft ?
|
||||
Draft :
|
||||
(LastInteraction === undefined ? "" : LastInteraction)
|
||||
textFormat: TextEdit.PlainText
|
||||
font.pointSize: JamiTheme.smartlistItemInfoFontSize
|
||||
font.weight: UnreadMessagesCount ? Font.Normal : Font.Light
|
||||
font.hintingPreference: Font.PreferNoHinting
|
||||
|
@ -157,6 +160,7 @@ ItemDelegate {
|
|||
Layout.preferredHeight: 20
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
text: JamiStrings.banned
|
||||
textFormat: TextEdit.PlainText
|
||||
visible: IsBanned
|
||||
font.pointSize: JamiTheme.smartlistItemFontSize
|
||||
font.weight: Font.Bold
|
||||
|
@ -189,6 +193,7 @@ ItemDelegate {
|
|||
Layout.preferredHeight: 20
|
||||
Layout.alignment: Qt.AlignRight
|
||||
text: InCall ? UtilsAdapter.getCallStatusStr(CallState) : ""
|
||||
textFormat: TextEdit.PlainText
|
||||
font.pointSize: JamiTheme.smartlistItemInfoFontSize
|
||||
font.weight: Font.Medium
|
||||
color: JamiTheme.textColor
|
||||
|
|
Loading…
Add table
Reference in a new issue