[PyQt] Position widgets over widgets
madsipsen at gmail.com
Thu Apr 7 13:58:30 BST 2011
I have attached a simple example where a widget sets up two labels. One
which is added to the layout of the widget, and one which is not.
In the paintEvent() of the parent widget I instead position the
non-layout label using setGeometry to make it appear in the center of
the parent widget.
However, the label positioned by this approach is always obscured by the
widget which was added to the layout. I want it to appear as visible,
i.e. visible on top of the parent widget.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 933 bytes
Desc: not available
More information about the PyQt