[Qt-qml] Image Transparency
Vinayakam Murugan
mvinayakam at gmail.com
Sun Feb 6 02:08:11 CET 2011
This was resolved. However I am still trying to understand how ;)
If you change Rectangle in BaseScreen.sql to FocusScope, the images show up
properly.
Warm Regards
~~~~~~~~~~~~~~~
Vinayak
http://www.flickr.com/photos/rightplacerighttime/
On Sat, Feb 5, 2011 at 11:31 AM, Vinayakam Murugan <mvinayakam at gmail.com>wrote:
> Hello
>
> I am a newbie to the QML language, trying to understand the concepts.
>
> I have a rectangle with couple of transparent images and it shows up fine
> against the background. However when I try to abstract out the common
> attributes and states in a seperate qml file called BaseScreen and create an
> instance of the BaseScreen, the images show up completely opaque.
>
> I tried googling for it but couldn't find any result.
>
> BaseScreen.qml
>
> Rectangle {
>
> Common properties and methods
>
> }
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Listing.qml
>
> {
>
> BaseScreen{
>
> display transparent images //The transparency doesn't show up.
> }
>
>
>
> Warm Regards
> ~~~~~~~~~~~~~~~
> Vinayak
>
> http://www.flickr.com/photos/rightplacerighttime/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110205/17702de3/attachment.html
More information about the Qt-qml
mailing list