|
|
@ -230,20 +230,6 @@ AbstractButton { |
|
|
|
anchors.verticalCenter: ts.verticalCenter |
|
|
|
anchors.verticalCenter: ts.verticalCenter |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ImageButton { |
|
|
|
|
|
|
|
visible: threadId |
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignRight | Qt.AlignTop |
|
|
|
|
|
|
|
height: parent.iconSize |
|
|
|
|
|
|
|
width: parent.iconSize |
|
|
|
|
|
|
|
image: ":/icons/icons/ui/thread.svg" |
|
|
|
|
|
|
|
buttonTextColor: TimelineManager.userColor(threadId, Nheko.colors.base) |
|
|
|
|
|
|
|
ToolTip.visible: hovered |
|
|
|
|
|
|
|
ToolTip.delay: Nheko.tooltipDelay |
|
|
|
|
|
|
|
ToolTip.text: qsTr("Part of a thread") |
|
|
|
|
|
|
|
anchors.verticalCenter: ts.verticalCenter |
|
|
|
|
|
|
|
onClicked: room.thread = threadId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Image { |
|
|
|
Image { |
|
|
|
visible: isEdited || eventId == room.edit |
|
|
|
visible: isEdited || eventId == room.edit |
|
|
|
Layout.alignment: Qt.AlignRight | Qt.AlignTop |
|
|
|
Layout.alignment: Qt.AlignRight | Qt.AlignTop |
|
|
@ -263,6 +249,20 @@ AbstractButton { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ImageButton { |
|
|
|
|
|
|
|
visible: threadId |
|
|
|
|
|
|
|
Layout.alignment: Qt.AlignRight | Qt.AlignTop |
|
|
|
|
|
|
|
height: parent.iconSize |
|
|
|
|
|
|
|
width: parent.iconSize |
|
|
|
|
|
|
|
image: ":/icons/icons/ui/thread.svg" |
|
|
|
|
|
|
|
buttonTextColor: TimelineManager.userColor(threadId, Nheko.colors.base) |
|
|
|
|
|
|
|
ToolTip.visible: hovered |
|
|
|
|
|
|
|
ToolTip.delay: Nheko.tooltipDelay |
|
|
|
|
|
|
|
ToolTip.text: qsTr("Part of a thread") |
|
|
|
|
|
|
|
anchors.verticalCenter: ts.verticalCenter |
|
|
|
|
|
|
|
onClicked: room.thread = threadId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
EncryptionIndicator { |
|
|
|
EncryptionIndicator { |
|
|
|
visible: room.isEncrypted |
|
|
|
visible: room.isEncrypted |
|
|
|
encrypted: isEncrypted |
|
|
|
encrypted: isEncrypted |
|
|
|