Thomas Coopman kirjoitti keskiviikko 14 huhtikuu 2010 19:49:05:
> 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.
> 
> 

Would this work with pure Qt/cpp code?

-- 
Terveisin,
Samu Voutilainen
http://smar.fi

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to