[SLOVED]the problem is QTabBar in QTabWidget
-
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)@
-
sorry,it is no have effect
,,,,,,,,
@ ui->tabWidget->tabBar()->setExpanding(true);@
[quote author="raven-worx" date="1375868910"]@QTabWidget::tabBar()->setExpanding(true)@[/quote] -
my way is using stackwidget and button
it's fine! -
you want the small or wide spread tabs?
-
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]