PDA

View Full Version : Adding tabs in a QTabWidget



Hogwarts
8th February 2011, 15:03
Hello
I need to add several tabs in a tabWidget but also I need that the tabs will not be elide in any way, I need that all of them be shown. What I need is that the tabs, when there is not enough space to show them, be shown below the other tabs.
I know that I can achieve this showing another tabwidget in all tabs, but I want to know if it is possible in other way
Thanks in advance and excuse my English

high_flyer
8th February 2011, 15:44
What is the use of tabs if all widgets are visible at the same time?
What do you need the tabs then?

Hogwarts
8th February 2011, 19:16
I think I don't explain myself very well. What I want is to show all tabs, but not its contents, show all tabs that are possible from left to right, but if there is not enought space, then, show the remaining tabs below the previous tabs, also from left to right, and as I said, from left to right.
I hope you understand me now.

high_flyer
8th February 2011, 19:40
EDIT:
oh, now I get you.

As far as I know, you will have to implement your own tab bar widget for that.