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

List:       pykde
Subject:    Re: [PyQt] TabText zone with a fixed width
From:       "Patxi R.Y." <patxiry () gmail ! com>
Date:       2010-05-31 18:10:05
Message-ID: 201005312010.06164.patxiry () gmail ! com
[Download RAW message or body]

[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)
_______________________________________________
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