PDA

View Full Version : What properties can I style for a tab-bar



tonnot
12th January 2012, 14:31
I'm trying to set background color (in example) and it does not work .
What properties can I set ?
I also need to define some properties for the upper 'space' (the space where the tab-bar is placed). Maybe this use the pane background color ?
Thanks

wysota
12th January 2012, 16:47
Are you going to open a separate thread for each and every widget you are styling?

tonnot
12th January 2012, 16:52
Thanks wy.
No

Spitfire
12th January 2012, 17:53
http://doc.qt.nokia.com/4.7-snapshot/stylesheet-examples.html

Google is your friend!

wysota
12th January 2012, 17:57
And first of all Stylesheet Reference.

tonnot
12th January 2012, 19:32
I have read all of that. Thanks any way,
Using this, I only can to fill the back-space occupied by the tabs, I'd want to fill the whole back-space (defined by the width of the whole tabwidget)

QTabBar {
background-color: #F7F3FF;
}
Any idea ? Is there any other way to have access to this 'part' of the Qtabwidget?

wysota
12th January 2012, 19:58
Let me put it this way -- if something is not mentioned in the link I gave you, it doesn't exist. And it never will because as far as I know stylesheets are considered deprecated and are not being developed anymore.

tonnot
13th January 2012, 09:17
Thanks wy. The future are going to be QML ?

wysota
13th January 2012, 11:05
The future is for us to choose.