Hi,

I am from the Business Enablers team. Our team is currently working on the 
Microsoft Lync App. There is a requirement from Microsoft to support Icon 
Badging. Currently there is no separate component in Valhalla to support this. 
So we are using the QML Image element to support this. Earlier this feature was 
also supported in Orbit. This proposed solution is not generic at the moment 
and is used to display the badged icon in the top right corner according to our 
requirement. But in future we look forward to make it a generic solution so 
that the badged icon can be placed anywhere in the parent container according 
to the requirement.

                                                                                
                                                                                
                                Attached is the qml file for Icon Badging and 
this is how it has to be called from any place. Four properties are required to 
be set which are the url of the background image, url of the badged image, the 
width and the height of the background image respectively.


        Badging
        {
            backgroundImageURL: "\\images\\myself.png"
            badgeImageURL: myStatus == "\\images\\circle_grey.png"
            backgroundImageWidth  : 70
            backgroundImageHeight : 70
        }

Thanks and regards,
Sumit Prakash.


Screenshot of the Icon Badging requirement
The presence icon here is the badged image and the avatar icon would be the 
background image.

[cid:image002.png@01CBE4D0.6A81E7E0]

<<inline: image002.png>>

Attachment: Badging.qml
Description: Badging.qml

_______________________________________________
Qt-components mailing list
Qt-components@qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-components

Reply via email to