[PyQt] QT4/QTabWidget tab add/remove/

S James S Stapleton stapleton at mps.ohio-state.edu
Sun Jun 10 00:18:35 BST 2007


The files are located here:
http://www.thestapletons.org/jim/varapp.tbz

If you load up the "creatures.fls" file, using the file->load features option, 
you'll see the graphical glitches I was talking about.

Thank you,
-Jim Stapleton

On Friday 08 June 2007 20:23, S James S Stapleton wrote:
> [sorry if this was posted already, I accidentally sent it to the old list,
> and was given an error]
>
> I have a tabwidget in an application where tabs are being added/removed at
> runtime, according to loaded data and user commands. The problem is, that
> when tabs are added, they appear in the background of the current tab, as
> an underlay. If I cycle through the loaded tabs they dissapear. but that's
> tedious to do every run while debugging.
>
> If I try to hide the tab after adding it, with hide(), its content will
> never show up, even if I select that tab.
>
> If I try to hide the tabs parent widget after it shows up, no tab content
> will show up.
>
> I can provide the code if need-be, but I'd like to see if anyone has quick
> ideas from that first (it's a bit of a hassle for me to get to the code
> online, and as it is, I'm extremely irritated after fighting with this for
> several hours.)
>
> Thanks
> -Jim Stapleton
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt


More information about the PyQt mailing list