[PyKDE] QTable problem

Phil Thompson phil at river-bank.demon.co.uk
Fri Jul 5 18:31:01 BST 2002


Thierry Jouve wrote:

> Hi,
> 
> I've noticed a problem with QTable.
> In fact, if you insert a same widget in different places in the table,
> the result is beautiful but not useful...
> 
> The script is joined to this mail...
> 
> Is it really a bug or is it normal ???


You can't use the same widget more than once. The table takes ownership 
of the widget and (I'm guessing, I haven't checked the Qt source) will 
call it's dtor for each time you have used it.

Phil




More information about the PyQt mailing list