[PyQt] customize QTabBar

tahiri.ahmed tahiri.ahmed at gmail.com
Mon Nov 26 15:01:29 GMT 2007

I am using a subclass of QTabWidget and i want to change the following 
properties of its QTabBar:
* enlarge the qtabbar object
* change it color
* align horizontaly the text
* set the buttons to be flat

this is the code i am using

	self.bar = self.tabBar()
        self.bar.setTabTextColor(0, QtGui.QColor(23, 45, 89))

but it's far to be adequate to what i expect
thanks, and excuse my english.

More information about the PyQt mailing list