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")
}
../_images/circleimage.png

Properties

Property Documentation

source

The source url of the image to display.

status

The loading status of the image