[Qt-interest] way to get QTabWidget to not show tab when only one tab is there?
Evan Teran
eteran at alum.rit.edu
Mon Sep 14 23:55:27 CEST 2009
I was just wondering if there is a simple way to get QTabWidget to not show
any tabs if there is only a single tab.
>From the documentation, I am guessing the answer is no :-P.
My only work around I can think of would be to use a QTabBar and tie it's
functionality to a QStackedWidget to emulate the functionality of a
QTabWidget. This way I would have the freedom to set the QTabBar's
visibility to false when the QStackedWidget has a count of 1. Thoughts?
Evan
More information about the Qt-interest-old
mailing list