PDA

View Full Version : transparent menus



nupul
17th April 2006, 10:36
How can I implement transparent popup menus? Can I use setwindowopacity for this?

Thanks
Nupul

bitChanger
17th April 2006, 17:05
setWindowOpacity only works on top level widgets, which includes dockWidgets

The popup menu can have transparent and semi-transparent painting using the QRgba alpha channel. This will allow the erase background of the menu to shine through, but not it's parent.