关于在QTabbar中出现多个Tab时隐藏出现QToolButton现象

代码实现:
pTabBar 为 QTabBar*
( (QWidget * )(pTabBar ->children().first()))->setFixedWidth(0);
( (QWidget *) (pTabBar ->children().last()))->setFixedWidth(0);

Qt QSS样式设置 参考网页地址
https://www.cnblogs.com/findumars/p/5654746.html

猜你喜欢

转载自blog.csdn.net/liunanya/article/details/88881501