PDA

View Full Version : Styling a tab bar without frame



longh
15th August 2008, 14:53
Hi Qt community,

is there a way to style a tab bar depending on it being a part of a QTabWidget or a QTabBar? When drawing a QTabWidget i want a frame with rounded corners, wheras i want to draw straight lines in the other case.

Thank you for any help,
Long

spirit
15th August 2008, 15:30
read this for more information
http://doc.trolltech.com/4.4/stylesheet-examples.html#customizing-qtabwidget-and-qtabbar

longh
15th August 2008, 16:02
Ah, I forgot to say, that I'm working on a QStyle. So this doesn't help me much. :(