[PyQt] QT4/QTabWidget tab add/remove/
David Boddie
david at boddie.org.uk
Sun Jun 10 23:42:30 BST 2007
On Sun Jun 10 22:46:30 BST 2007, S James S Stapleton wrote:
> I'm closer to where I want/need to be, but I'm down one step I think.
>
> What function do I override if I want to intercept a tab selection even (in
> a QTabWidget wrapper)?
>
> I.E. it will be called if a tab is clicked.
You can connect the QTabWidget's currentChanged(int) signal to a method
in your wrapper.
I don't think there's a clean way to do the same thing just by reimplementing
event handlers.
David
More information about the PyQt
mailing list