mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-08-07 16:26:12 +02:00
SwarmId: enable selection by mouse
Change-Id: Ie20d0d716eaaa7f6d6018e50f73560498ff6d918
This commit is contained in:
parent
48e9887129
commit
e2da7777de
1 changed files with 14 additions and 3 deletions
|
@ -501,6 +501,8 @@ Rectangle {
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
|
|
||||||
color: JamiTheme.textColor
|
color: JamiTheme.textColor
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
@ -522,6 +524,7 @@ Rectangle {
|
||||||
visible: LRCInstance.debugMode()
|
visible: LRCInstance.debugMode()
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
id: identifierText
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.preferredHeight: 30
|
Layout.preferredHeight: 30
|
||||||
Layout.rightMargin: JamiTheme.preferredMarginSize
|
Layout.rightMargin: JamiTheme.preferredMarginSize
|
||||||
|
@ -536,7 +539,7 @@ Rectangle {
|
||||||
color: JamiTheme.textColor
|
color: JamiTheme.textColor
|
||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
TextEdit {
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
Layout.rightMargin: JamiTheme.preferredMarginSize
|
Layout.rightMargin: JamiTheme.preferredMarginSize
|
||||||
|
|
||||||
|
@ -544,8 +547,16 @@ Rectangle {
|
||||||
font.pixelSize: JamiTheme.settingsDescriptionPixelSize
|
font.pixelSize: JamiTheme.settingsDescriptionPixelSize
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
|
|
||||||
|
selectByMouse: true
|
||||||
|
readOnly: true
|
||||||
|
text: textMetricsIdentifier.elidedText
|
||||||
|
|
||||||
|
TextMetrics {
|
||||||
|
id: textMetricsIdentifier
|
||||||
text: CurrentConversation.id
|
text: CurrentConversation.id
|
||||||
elide: Text.ElideRight
|
elideWidth: aboutSwarm.width - identifierText.width - 2 * JamiTheme.preferredMarginSize
|
||||||
|
elide: Qt.ElideRight
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue