tags:

views:

173

answers:

1

I'm trying to implement a custom QLayout using PyQt. setGeometry gets called, and I loop through and call setGeometry on all the widgets I'm managing, but for some reason the widgets never get painted, despite all having the correct geometry.

Also, invalidate, update, and activate never seem to get called on my Layout. Does anyone have any idea how I should be doing this?

A: 

I would say look at this, make sure your values are where you are supposed.

Check this out: [http://doc.trolltech.com/4.6-snapshot/layouts-flowlayout.html%5D%5B1%5D

A lot of times painting (in this case placing) at the right positions is the problem.

Hope it helps.

Karol Wilk