Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F114530
RoomMemberListViewItemDelegate.qml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
RoomMemberListViewItemDelegate.qml
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import
QtQuick
2.15
import
QtQuick
.
Layouts
1.15
import
QtQuick
.
Controls
2.15
import
org
.
kde
.
kirigami
2.13
as
Kirigami
import
'.'
as
Kazv
Kirigami
.
SwipeListItem
{
id: roomMemberListViewItemDelegate
property
var
member
property
var
nameProvider:
Kazv
.
UserNameProvider
{
user:
member
}
property
var
displayName:
nameProvider
.
name
property
var
iconSize
contentItem:
RowLayout
{
Kazv
.
AvatarAdapter
{
mxcUri:
member
.
avatarMxcUri
name:
displayName
Layout.preferredWidth:
iconSize
}
ColumnLayout
{
Layout.fillWidth:
true
Layout.alignment:
Qt
.
AlignLeft
Label
{
text:
displayName
Layout.alignment:
Qt
.
AlignLeft
Layout.fillWidth:
true
}
Label
{
text:
member
.
userId
Layout.alignment:
Qt
.
AlignLeft
Layout.fillWidth:
true
}
}
}
onClicked:
{
activateUserPage
(
member
,
room
);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 10:29 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40269
Default Alt Text
RoomMemberListViewItemDelegate.qml (1 KB)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment