Circle Image¶
Author | Michael Spencer | |
License | GNU General Public License v3.0 | |
Contact | mspencer@sonrisesoftware.com | |
Framework | ubuntu-sdk-14.10 |
This widget converts any image into a circular sized image which can be useful for showing user profile pictures. As trivial as this might look, it is not a straightforward solution in QML.
Example:
CircleImage {
width: units.gu(10)
height: width
source: Qt.resolvedUrl("assets/flashback.png")
}