What is the best way to remove (and delete) all pages/tabs under a QTabWidget?

I'm creating the content of a set of tabs dynamically, and within the run of 
the app, I also need to be able to recreate the same output. ie; Deleting all 
tabs, and adding in the new revised ones.

At the moment I'm setting the current page to 0, and then while there's a 
current page, calling removePage. I've read, though, that this just hides the 
page, and doesn't deallocate it in memory. Is this an issue in the python 
implementation?

-- 
. Trevor Phillips             -           http://jurai.murdoch.edu.au/ . 
: Web Technical Administrator     -          [EMAIL PROTECTED] : 
| IT Services                        -              Murdoch University | 
 >--------------------------------------------------------------------<
| On nights such as this, evil deeds are done. And good deeds, of     /
| course. But mostly evil, on the whole.                             /
 \      -- (Terry Pratchett, Wyrd Sisters)                          /

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to