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.

bottom line of the `QTabBar shown

How can I remove it?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top