- Implement shaders to make round images and use qsb --qt6. - Add picture to Friend. - Display username if displayname is not found. - Compute initials from C++ with emojis. - Add Accounts list in a popup from main window. - Add a hack on account to update avatar on all AcountModel. - Add Avatar item for initials/picture. - Add Contact description item. - Make sizes proportionals to match designs. - Add image colorization.
27 lines
506 B
QML
27 lines
506 B
QML
import QtQuick
|
|
import QtQuick.Controls as Control
|
|
import QtQuick.Effects
|
|
import Linphone
|
|
|
|
Control.Popup{
|
|
id: mainItem
|
|
padding: 0
|
|
background: Item{
|
|
Rectangle{
|
|
id: backgroundItem
|
|
width: mainItem.width
|
|
height: mainItem.height
|
|
radius: 16 * DefaultStyle.dp
|
|
border.color: DefaultStyle.grey_0
|
|
border.width: 1
|
|
}
|
|
MultiEffect {
|
|
anchors.fill: backgroundItem
|
|
source: backgroundItem
|
|
maskSource: backgroundItem
|
|
shadowEnabled: true
|
|
shadowBlur: 1.0
|
|
shadowOpacity: 0.1
|
|
}
|
|
}
|
|
}
|