Hiding bottom line in QTabBar

自作多情 提交于 2019-12-10 15:24:29

问题


There doesn't seem to be a way of setting a stylesheet for the bottom line (shown in the image below) of a QTabBar, which I want to be removed.

How can I remove it?


回答1:


Haven't used Qt in 6-7 months now so I'm not sure if this will work nor can I test it. Give QTabBar::drawBase a try. Plus the Qt library are very well documents so you should find a solution to your problems if you just carefully sift through it.

Hope you are using the Qt SDK.



来源:https://stackoverflow.com/questions/11458431/hiding-bottom-line-in-qtabbar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!