mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
LINQT-1503 meeting avatar
This commit is contained in:
parent
64ca2feff6
commit
55e325c7ec
5 changed files with 9 additions and 3 deletions
|
|
@ -73,6 +73,7 @@ ColumnLayout {
|
|||
width: 100 * DefaultStyle.dp
|
||||
height: 100 * DefaultStyle.dp
|
||||
contact: mainItem.contact || null
|
||||
isConferenceInfo: mainItem.conferenceInfo
|
||||
_address: mainItem.conferenceInfo
|
||||
? mainItem.conferenceInfo.core.subject
|
||||
: mainItem.contactAddress || mainItem.contactName
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ ListView {
|
|||
Layout.preferredWidth: 45 * DefaultStyle.dp
|
||||
Layout.preferredHeight: 45 * DefaultStyle.dp
|
||||
_address: modelData.core.remoteAddress
|
||||
isConferenceInfo: modelData.core.isConference
|
||||
}
|
||||
ColumnLayout {
|
||||
spacing: 0
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ Loader{
|
|||
property AccountGui account: null
|
||||
property FriendGui contact: null
|
||||
property CallGui call: null
|
||||
property bool isConferenceInfo: false
|
||||
property string _address: account
|
||||
? account.core?.identityAddress || ""
|
||||
: call
|
||||
|
|
@ -143,7 +144,7 @@ Loader{
|
|||
width: height
|
||||
Rectangle {
|
||||
id: initialItem
|
||||
property string initials: UtilsCpp.getInitials(mainItem.displayNameVal)
|
||||
property string initials: mainItem.isConferenceInfo ? "" : UtilsCpp.getInitials(mainItem.displayNameVal)
|
||||
radius: width / 2
|
||||
color: DefaultStyle.main2_200
|
||||
height: stackView.height
|
||||
|
|
@ -163,9 +164,9 @@ Loader{
|
|||
Image {
|
||||
id: initialImg
|
||||
visible: initialItem.initials == ''
|
||||
width: stackView.width/3
|
||||
width: stackView.width/2
|
||||
height: width
|
||||
source: AppIcons.profile
|
||||
source: mainItem.isConferenceInfo ? AppIcons.usersThree : AppIcons.profile
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
anchors.centerIn: parent
|
||||
|
|
@ -193,6 +194,7 @@ Loader{
|
|||
width: height
|
||||
Image {
|
||||
id: image
|
||||
z: 200
|
||||
visible: false
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ Notification {
|
|||
Layout.preferredHeight: 60 * DefaultStyle.dp
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
call: mainItem.call
|
||||
isConferenceInfo: mainItem.call && mainItem.call.core.isConference
|
||||
}
|
||||
ColumnLayout {
|
||||
spacing: 0
|
||||
|
|
|
|||
|
|
@ -305,6 +305,7 @@ AbstractMainPage {
|
|||
_address: modelData.core.remoteAddress
|
||||
width: 45 * DefaultStyle.dp
|
||||
height: 45 * DefaultStyle.dp
|
||||
isConferenceInfo: modelData.core.isConference
|
||||
}
|
||||
ColumnLayout {
|
||||
Layout.fillHeight: true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue