|
|
|
@ -98,8 +98,22 @@ ApplicationWindow { |
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
Layout.fillHeight: true |
|
|
|
|
model: invitees |
|
|
|
|
spacing: Nheko.paddingMedium |
|
|
|
|
|
|
|
|
|
delegate: ItemDelegate { |
|
|
|
|
id: del |
|
|
|
|
|
|
|
|
|
hoverEnabled: true |
|
|
|
|
width: ListView.view.width |
|
|
|
|
height: layout.implicitHeight |
|
|
|
|
onClicked: TimelineManager.openGlobalUserProfile(model.mxid) |
|
|
|
|
background: Rectangle { |
|
|
|
|
color: del.hovered ? Nheko.colors.dark : inviteDialogRoot.color |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
RowLayout { |
|
|
|
|
id: layout |
|
|
|
|
|
|
|
|
|
delegate: RowLayout { |
|
|
|
|
spacing: Nheko.paddingMedium |
|
|
|
|
|
|
|
|
|
Avatar { |
|
|
|
@ -108,7 +122,7 @@ ApplicationWindow { |
|
|
|
|
userid: model.mxid |
|
|
|
|
url: model.avatarUrl.replace("mxc://", "image://MxcImage/") |
|
|
|
|
displayName: model.displayName |
|
|
|
|
onClicked: TimelineManager.openGlobalUserProfile(model.mxid) |
|
|
|
|
enabled: false |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
@ -139,6 +153,8 @@ ApplicationWindow { |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
footer: DialogButtonBox { |
|
|
|
|
id: buttons |
|
|
|
|
|
|
|
|
|