[PyQt] TabText zone with a fixed width
Patxi R.Y.
patxiry at gmail.com
Mon May 31 19:10:05 BST 2010
[SOLVED]
First thanks to David Boddie to give us this link:
http://www.diotavelli.net/PyQtWiki/SampleCode
In this web page there is another link which offer a solution:
http://www.diotavelli.net/PyQtWiki/Customising%20tab%20bars
and in this page there is another link which offer a better solution for Qt 4.5
or above:
http://doc.trolltech.com/4.5/qtabbar.html#expanding-prop
The solution is this:
tabbar = self.tabWidget.findChild(QTabBar)
tabbar.setExpanding(True)
More information about the PyQt
mailing list