View Full Version : [QTabWidget] horizontal text on left side
Hi,
small simple question: is it possible to have the tabs on the left side of the widget with the text shown horizontally...don't want user to hurt their necks when reading it ;)
wysota
14th May 2008, 08:38
No, Qt doesn't provide it. You'd have to subclass QTabBar and implement it yourself.
So QTabBar should support horizontal text on the left side? (don't see the option yet in the Assistant, but still looking)
if so: I can access the protected member QTabBar and then alter it
wysota
14th May 2008, 16:26
So QTabBar should support horizontal text on the left side?
I don't see why not. But you have to implement it yourself.
what I do as solution is buttons on the left with a frame. Instead of tabs, I created widgets and when pushing a button, the corresponding widget's parent is set to the frame
wysota
16th May 2008, 08:36
Use a QStackedWidget and a QButtonGroup. Then you'll be able to do everything using signals and slots with practically no additional code.
I found that out yesterday! :) thanks for your help again!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.