[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] How to add more widgets to a QScrollView once the exec_loop =?iso-8859-1?q?start	s=3F?=
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       2003-01-25 13:40:16
[Download RAW message or body]

On Wednesday 22 January 2003 4:55 pm, Tuvi, Selim wrote:
> Hi, I am developing an application that has a QScrollView widget in it. The
> QScrollView widget has a QVBox in which I add more widgets. When I
> initially add the widgets before the "exec_loop" starts I can see what I
> added on the screen. But if I add them through a button click event then
> the widgets do not get added (or they get added but I can not see them).

Widgets are hidden when they are first created so those that are created after 
the w.show() must be shown explicitly. Add l.show() after creating the 
QLabel.

Phil

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic