[SLOVED]the problem is QTabBar in QTabWidget
General and Desktop
6
Posts
2
Posters
1.4k
Views
1
Watching
-
wrote on 7 Aug 2013, 09:30 last edited by
how to update the QWidget or QMainWindow achieve this effect
!http://www.qtcn.org/bbs/attachment/Mon_1308/26_124672_84609524c1e1e20.jpg!
!http://www.qtcn.org/bbs/attachment/Mon_1308/26_124672_43cebfb08f92e00.jpg!the QTabBar follow QWidget resize it size
-
@QTabWidget::tabBar()->setExpanding(true)@
-
wrote on 8 Aug 2013, 01:10 last edited by
sorry,it is no have effect
,,,,,,,,
@ ui->tabWidget->tabBar()->setExpanding(true);@
[quote author="raven-worx" date="1375868910"]@QTabWidget::tabBar()->setExpanding(true)@[/quote] -
wrote on 8 Aug 2013, 06:04 last edited by
my way is using stackwidget and button
it's fineļ¼ -
you want the small or wide spread tabs?
-
wrote on 9 Aug 2013, 02:41 last edited by
I want to resize by the QWidget and full the Qwidget width;
[quote author="raven-worx" date="1375946112"]you want the small or wide spread tabs?[/quote]
5/6