[Qt-interest] How to draw transparent widgets on canvas?

Jason H scorp1us at yahoo.com
Mon May 3 22:20:51 CEST 2010


This is nothing more than just drawing the items, without drawing the background. I would probably use a widget, for all the signals it can emit and embed that. Just don't bother to draw the background. Then it is only a matter of setting the z-order. You can do this explicily, or you can make the map a child of the view control. Just make sure you don't clip children. 

And 0x4445bc3a




________________________________
From: Ta-Cheng Lin <tclin1998 at gmail.com>
To: Qt-interest at trolltech.com
Sent: Mon, May 3, 2010 3:41:18 PM
Subject: [Qt-interest] How to draw transparent widgets on canvas?

Hi:

How to implement the widget like the one in
Goolge map's zoom-in/zoom-out, navagation widget.
It's transparent and on top of the map.

Any pointer is appreciated.

-Todd




-- 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100503/bbb352d2/attachment.html 


More information about the Qt-interest-old mailing list