Compare commits
1 Commits
work/runne
...
work/tdfis
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be7617d366 |
@@ -55,7 +55,11 @@ TimelineContainer {
|
|||||||
|
|
||||||
onOpenContextMenu: openFileContext(root)
|
onOpenContextMenu: openFileContext(root)
|
||||||
|
|
||||||
|
Accessible.name: "Image from " + author.displayName
|
||||||
|
Accessible.role: Accessible.Graphic
|
||||||
|
|
||||||
innerObject: AnimatedImage {
|
innerObject: AnimatedImage {
|
||||||
|
Accessible.ignored: true
|
||||||
id: img
|
id: img
|
||||||
|
|
||||||
property var imageWidth: {
|
property var imageWidth: {
|
||||||
|
|||||||
@@ -40,7 +40,11 @@ TimelineContainer {
|
|||||||
|
|
||||||
onOpenContextMenu: openMessageContext(label.selectedText)
|
onOpenContextMenu: openMessageContext(label.selectedText)
|
||||||
|
|
||||||
|
Accessible.role: Accessible.StaticText
|
||||||
|
Accessible.name: author.displayName + " " + root.display
|
||||||
|
|
||||||
innerObject: ColumnLayout {
|
innerObject: ColumnLayout {
|
||||||
|
Accessible.ignored: true
|
||||||
Layout.maximumWidth: root.contentMaxWidth
|
Layout.maximumWidth: root.contentMaxWidth
|
||||||
RichLabel {
|
RichLabel {
|
||||||
id: label
|
id: label
|
||||||
|
|||||||
@@ -323,6 +323,7 @@ ColumnLayout {
|
|||||||
]
|
]
|
||||||
|
|
||||||
SectionDelegate {
|
SectionDelegate {
|
||||||
|
Accessible.ignored: true
|
||||||
id: sectionDelegate
|
id: sectionDelegate
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@@ -331,6 +332,7 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QQC2.ItemDelegate {
|
QQC2.ItemDelegate {
|
||||||
|
Accessible.ignored: true
|
||||||
id: mainContainer
|
id: mainContainer
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
@@ -354,6 +356,7 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Kirigami.Avatar {
|
Kirigami.Avatar {
|
||||||
|
Accessible.ignored: true
|
||||||
id: avatar
|
id: avatar
|
||||||
width: visible || Config.showAvatarInTimeline ? Kirigami.Units.gridUnit * 2 + Kirigami.Units.smallSpacing * 2 : 0
|
width: visible || Config.showAvatarInTimeline ? Kirigami.Units.gridUnit * 2 + Kirigami.Units.smallSpacing * 2 : 0
|
||||||
height: width
|
height: width
|
||||||
@@ -430,6 +433,7 @@ ColumnLayout {
|
|||||||
]
|
]
|
||||||
|
|
||||||
contentItem: RowLayout {
|
contentItem: RowLayout {
|
||||||
|
Accessible.ignored: true
|
||||||
Kirigami.Icon {
|
Kirigami.Icon {
|
||||||
source: "content-loading-symbolic"
|
source: "content-loading-symbolic"
|
||||||
width: height
|
width: height
|
||||||
@@ -561,6 +565,7 @@ ColumnLayout {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ReactionDelegate {
|
ReactionDelegate {
|
||||||
|
Accessible.ignored: true
|
||||||
Layout.maximumWidth: root.width - Kirigami.Units.largeSpacing * 2
|
Layout.maximumWidth: root.width - Kirigami.Units.largeSpacing * 2
|
||||||
Layout.alignment: showUserMessageOnRight ? Qt.AlignRight : Qt.AlignLeft
|
Layout.alignment: showUserMessageOnRight ? Qt.AlignRight : Qt.AlignLeft
|
||||||
Layout.leftMargin: showUserMessageOnRight ? 0 : bubble.x + bubble.anchors.leftMargin
|
Layout.leftMargin: showUserMessageOnRight ? 0 : bubble.x + bubble.anchors.leftMargin
|
||||||
@@ -572,6 +577,7 @@ ColumnLayout {
|
|||||||
onReactionClicked: (reaction) => currentRoom.toggleReaction(root.eventId, reaction)
|
onReactionClicked: (reaction) => currentRoom.toggleReaction(root.eventId, reaction)
|
||||||
}
|
}
|
||||||
AvatarFlow {
|
AvatarFlow {
|
||||||
|
Accessible.ignored: true
|
||||||
Layout.alignment: Qt.AlignRight
|
Layout.alignment: Qt.AlignRight
|
||||||
Layout.rightMargin: Kirigami.Units.largeSpacing
|
Layout.rightMargin: Kirigami.Units.largeSpacing
|
||||||
visible: root.showReadMarkers
|
visible: root.showReadMarkers
|
||||||
|
|||||||
@@ -181,6 +181,8 @@ QQC2.ScrollView {
|
|||||||
QQC2.RoundButton {
|
QQC2.RoundButton {
|
||||||
id: goReadMarkerFab
|
id: goReadMarkerFab
|
||||||
|
|
||||||
|
Accessible.name: i18n("Jump to first unread message")
|
||||||
|
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: Kirigami.Units.largeSpacing
|
anchors.topMargin: Kirigami.Units.largeSpacing
|
||||||
@@ -202,10 +204,12 @@ QQC2.ScrollView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QQC2.ToolTip {
|
QQC2.ToolTip {
|
||||||
|
Accessible.ignored: true
|
||||||
text: i18n("Jump to first unread message")
|
text: i18n("Jump to first unread message")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
QQC2.RoundButton {
|
QQC2.RoundButton {
|
||||||
|
Accessible.name: i18n("Jump to latest message")
|
||||||
id: goMarkAsReadFab
|
id: goMarkAsReadFab
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
@@ -225,6 +229,7 @@ QQC2.ScrollView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QQC2.ToolTip {
|
QQC2.ToolTip {
|
||||||
|
Accessible.ignored: true
|
||||||
text: i18n("Jump to latest message")
|
text: i18n("Jump to latest message")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user