[Qt-interest] Drawing widgets inside and outside layouts

Artyom sneg.vx at googlemail.com
Tue Mar 17 20:54:11 CET 2009


Hi David,

Thanks a lot for your link, it really helped me out. It seems the 
problem I encountered was partly due to the lack of setPalette( 
Qt::transparent ); in the Arrow class and no resize method. Once I 
implemented resize method and set the palette, the program started 
working perfectly.

Thanks,
Arty

David Boddie wrote:
 > Artyom wrote:
 >
 >> I have two QHBoxLayouts in a single QVBoxLayout, so I have two rows of X
 >> items. I want to be able to join any two items with an arrow. What is
 >> the best way to do this in Qt?
 >
 > It might not be the best way, but here's one way to do this:
 >
 > http://wiki.qtcentre.org/index.php?title=Widget_Overlay
 >
 > David



More information about the Qt-interest-old mailing list