[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] close tabs?
From:       Baz Walter <bazwal () ftml ! net>
Date:       2009-08-31 13:24:03
Message-ID: 4A9BCEF3.5000004 () ftml ! net
[Download RAW message or body]

patx@patx.me wrote:
> I have the code http://codepad.org/bAV10oAr. I can not figure out how to
> close the tabs. Can someone tell me what I need to do, I have the tab
> indexes in a list. Thanks, PATX.

tabs are removed by index.

i don't think you will need a separate list of tabs - the tabwidget 
already has its own indexed list.

here's an edited version of your code: http://codepad.org/Pqf9WULo

i also made a few other changes to get things working properly (hope you 
don't mind).

regards
baz walter
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic