Re[PyQt] freshing a Widget

David Boddie david at boddie.org.uk
Sat Mar 21 19:05:37 GMT 2009


On Fri, 20 Mar 2009 05:29:37 -0700 (PDT), deSam wrote:

> I made a widget, from what you can select a product, and once you selected
> it, an extra field should show up under the select list.
> the field does show up, but its put on top of the select list,
> until you move the window, then it is redrawn, and the field moves to the
> right place.
> so, my question is, how to force a refresh on a widget?

You call its update() method. Perhaps you would like to tell us more about
your widget so that we can figure out why the field appears in the wrong
place to start with.

David


More information about the PyQt mailing list