[Qt-interest] Is there a way to overlap widgets in a layout?

Harri Pasanen grego at mpaja.com
Tue Nov 30 09:24:17 CET 2010


I'd like to overlap widgets, basically throwing images with transparent areas 
over an existing layout.  Is that possible? 

The overlapped image would naturally have
img->setAttribute(Qt::WA_TransparentForMouseEvents);

For now, I ended up doing this manually in code, but that was fairly 
cumbersome.  I've doing this with Designer,Qt code.  I'd also like to know if 
QML offers anything for this, examing that is still on my todo ...

Regards,

-- 
Grego
http://mpaja.com/



More information about the Qt-interest-old mailing list