[Qt-interest] QTabBar background colors
Diana Coppenbarger
dcop at lle.rochester.edu
Thu Dec 11 20:45:46 CET 2008
I am trying to figure out how the change the background colors on the
tabs for a QTabWidget. I have created my own class, inheriting from
QTabWidget to be able to get access to the QTabBar. I can change the
text color by using tabBar()->setTabTextColor(QColor(Qt::red));, but I
really want to be able to change the *background* color of just the
tab. I am using Qt 4.3. Any thoughts?
More information about the Qt-interest-old
mailing list