Masking is not avaliable after the QT6 upgrade, this does a kind of primitive masking by placing a rectangle with a circular hole in it over the image.

CURA-9104
This commit is contained in:
j.delarago 2022-04-11 14:10:27 +02:00
parent d1d45b4f41
commit 94e5a4e1db
5 changed files with 27 additions and 20 deletions

View file

@ -81,6 +81,7 @@ Item
source: (loggedIn && profile["profile_image_url"]) ? profile["profile_image_url"] : ""
outlineColor: loggedIn ? UM.Theme.getColor("account_widget_outline_active") : UM.Theme.getColor("lining")
maskColor: UM.Theme.getColor("main_window_header_background")
}
contentItem: Item