Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
66e40eed
Unverified
Commit
66e40eed
authored
3 years ago
by
Loren Burkholder
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #790 from LorenDB/fixRRDialog
Fix clicking on read receipts for profiles
parents
61348179
b5b5c952
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#1993
passed
3 years ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/qml/dialogs/ReadReceipts.qml
+39
-42
39 additions, 42 deletions
resources/qml/dialogs/ReadReceipts.qml
with
39 additions
and
42 deletions
resources/qml/dialogs/ReadReceipts.qml
+
39
−
42
View file @
66e40eed
...
...
@@ -58,61 +58,58 @@ ApplicationWindow {
boundsBehavior
:
Flickable
.
StopAtBounds
model
:
readReceipts
delegate
:
RowLayout
{
spacing
:
Nheko
.
paddingMedium
Avatar
{
width
:
Nheko
.
avatarSize
height
:
Nheko
.
avatarSize
userid
:
model
.
mxid
url
:
model
.
avatarUrl
.
replace
(
"
mxc://
"
,
"
image://MxcImage/
"
)
displayName
:
model
.
displayName
onClicked
:
room
.
openUserProfile
(
model
.
mxid
)
ToolTip.visible
:
avatarHover
.
hovered
ToolTip.text
:
model
.
mxid
HoverHandler
{
id
:
avatarHover
}
delegate
:
ItemDelegate
{
onClicked
:
room
.
openUserProfile
(
model
.
mxid
)
padding
:
Nheko
.
paddingMedium
width
:
receiptLayout
.
implicitWidth
height
:
receiptLayout
.
implicitHeight
hoverEnabled
:
true
ToolTip.visible
:
hovered
ToolTip.text
:
model
.
mxid
background
:
Rectangle
{
color
:
readReceiptsRoot
.
color
}
Column
Layout
{
spacing
:
Nheko
.
paddingSmall
Row
Layout
{
id
:
receiptLayout
Label
{
text
:
model
.
displayName
color
:
TimelineManager
.
userColor
(
model
?
model
.
mxid
:
""
,
Nheko
.
colors
.
window
)
font.pointSize
:
fontMetrics
.
font
.
pointSize
ToolTip.visible
:
displayNameHover
.
hovered
ToolTip.text
:
model
.
mxid
spacing
:
Nheko
.
paddingMedium
TapHandler
{
onSingleTapped
:
room
.
openUserProfile
(
userId
)
}
Avatar
{
width
:
Nheko
.
avatarSize
height
:
Nheko
.
avatarSize
userid
:
model
.
mxid
url
:
model
.
avatarUrl
.
replace
(
"
mxc://
"
,
"
image://MxcImage/
"
)
displayName
:
model
.
displayName
}
ColumnLayout
{
spacing
:
Nheko
.
paddingSmall
CursorShape
{
anchors.fill
:
parent
cursorShape
:
Qt
.
PointingHandCursor
Label
{
text
:
model
.
displayName
color
:
TimelineManager
.
userColor
(
model
?
model
.
mxid
:
""
,
Nheko
.
colors
.
window
)
font.pointSize
:
fontMetrics
.
font
.
pointSize
}
HoverHandler
{
id
:
displayNameHover
Label
{
text
:
model
.
timestamp
color
:
Nheko
.
colors
.
buttonText
font.pointSize
:
fontMetrics
.
font
.
pointSize
*
0.9
}
}
Item
{
Layout.fillHeight
:
true
Layout.fillWidth
:
true
}
Label
{
text
:
model
.
timestamp
color
:
Nheko
.
colors
.
buttonText
font.pointSize
:
fontMetrics
.
font
.
pointSize
*
0.9
}
Item
{
Layout.fillHeight
:
true
Layout.fillWidth
:
true
}
}
CursorShape
{
anchors.fill
:
parent
cursorShape
:
Qt
.
PointingHandCursor
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment