PDA

View Full Version : QMainWindow->centralWidget with alpha?



wafto
6th December 2008, 21:01
Hi,

How can I make the central widget in a QMainWindow with alpha channel and see thow it, the background of the desktop or anything else back of my QMainwindow?:eek:

wysota
7th December 2008, 02:21
Unfortunately this is platform dependent. In Unix you can use ARGB windows with the composite extension turned on in the X server. With Windows Vista you need to use the platform API regarding manipulation of the client area. With older Windows systems the effect might not be possible to achieve at all.

wafto
7th December 2008, 02:52
mm.. Ok, thanks. :D