Hi,

I need to write some gui code that add some buttons to a layout.  But
now and then these buttons change.  So I wrote the code so that I
create a layout for the buttons and then do setLayout to the widget.
Now if the buttons have to be renewed if do widget.layout().dispose()
and again setLayout with the new layout.  But the problem is that the
old buttons stay visible.

How can I fix this problem?  Is this the correct thing to do, or are
there better ways of doing this?

Thanks.

-- 
Thomas Coopman
[email protected]
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to