QTabWidget: different close image for selected Tab
Is it possible to have a different close image for active or inactive tabs?
I want to have an image for active and hovered tabs and no image for inactive tabs.
Thank you
4 replies
I think that that is up to the style to render. However, I think you might be able to do what you want using a style sheet too. Check the Qt style sheet reference, and take a look at the last part of the example for customizing a tab bar.
I already tried it with styles but i cannot find the right name for not selected or hovered
The Close Button tag is:
while the Tabs use
and
You must log in to post a reply. Not a member yet? Register here!


