代码实现:
pTabBar 为 QTabBar*
( (QWidget * )(pTabBar ->children().first()))->setFixedWidth(0);
( (QWidget *) (pTabBar ->children().last()))->setFixedWidth(0);
Qt QSS样式设置 参考网页地址
https://www.cnblogs.com/findumars/p/5654746.html
代码实现:
pTabBar 为 QTabBar*
( (QWidget * )(pTabBar ->children().first()))->setFixedWidth(0);
( (QWidget *) (pTabBar ->children().last()))->setFixedWidth(0);
Qt QSS样式设置 参考网页地址
https://www.cnblogs.com/findumars/p/5654746.html