[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] customize QTabBar
From: "tahiri.ahmed" <tahiri.ahmed () gmail ! com>
Date: 2007-11-26 15:01:29
Message-ID: 200711261501.29610.tahiri.ahmed () gmail ! com
[Download RAW message or body]
hello;
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.setFixedWidth(300)
self.bar.setFixedHeight(250)
self.bar.setTabTextColor(0, QtGui.QColor(23, 45, 89))
self.setTabPosition(QtGui.QTabWidget.West)
but it's far to be adequate to what i expect
thanks, and excuse my english.
_______________________________________________
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