mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06:00
Restyle the dropdown of the accounts, with information about the user
and available operations that can be done when the user is logged in or not. Contributes to CURA-5784.
This commit is contained in:
parent
b89c220a4d
commit
5befc0b256
12 changed files with 267 additions and 76 deletions
|
@ -10,6 +10,8 @@ Item
|
|||
id: avatar
|
||||
|
||||
property var source
|
||||
property var fallbackSource: UM.Theme.getImage("avatar_default")
|
||||
property var outlineColor: UM.Theme.getColor("account_widget_ouline_active")
|
||||
|
||||
Image
|
||||
{
|
||||
|
@ -41,4 +43,14 @@ Item
|
|||
cached: true
|
||||
invert: false
|
||||
}
|
||||
|
||||
UM.RecolorImage
|
||||
{
|
||||
id: profileImageOutline
|
||||
source: UM.Theme.getIcon("circle_outline")
|
||||
sourceSize: Qt.size(parent.width, parent.height)
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
color: avatar.outlineColor
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue