I haven't used Qt in 6-7 months, so I'm not sure if this will work, and I will not be able to test it. Give QTabBar::drawBase. In addition, the Qt library has very good documents, so you should find a solution to your problems if you just carefully sift it.
Hope you are using the Qt SDK .
source
share