[Kommander-devel] Re: kommander-devel

Andras Mantia amantia at kde.org
Fri Feb 15 03:42:01 EST 2008


On Thursday 14 February 2008, Eric Laffoon wrote:
> > Finally, is there a 'destroyWidget' (planned??), since dynamic
> > creations tend to accumulate (like rabbits).  I know you can make
> > them invisible, but if you create 'em on the fly, you need to be
> > able to get rid of 'em on the fly.

Call the widget.deleteLater slot. :) Don't try it on the main dialog or 
when you will access the widget later.

> Funny thing about that. It seems widgets are automatically destroyed
> on the fly, at least in tables if you replace them with text or a
> different widget.

Table cells are special.

Andras

-- 
 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail01.fortunecookiestudios.com/pipermail/kommander-devel/attachments/20080215/8fabc7ce/attachment.pgp


More information about the Kommander-devel mailing list