Min Li wrote:
Hi, everyone.

I have some trouble in QTabBar. How can I trigger some event when I change
the current tab to a new tab?

Could you please give me some suggestion?

Thanks

Lee




someconstructor:
        self.tabBar = QtGui.QTabBar()
self.connect(self.tabBar, QtCore.SIGNAL("currentChanged(int)"), self.switchedTab)



def switchedTab(self):
        print "Some event?"
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to