Qt 6.12 LTS is out! See what's new in the release
blog
What is this object called?
General and Desktop
2
Posts
2
Posters
851
Views
2
Watching
-
There is an object that I want to style with QSS but I don't know what it's called. Here is a screenshot: https://i.imgur.com/pj12cQv.png
Maybe someone can also tell me how to style the buttons, specifically? I think it could be part of QTabWidget, maybe? Thanks you.
-
These are QToolButtons. They are part of QTabBar.
You can style them using this selector:QTabBar QToolButton { ... }. The width of the space occupied by these buttons can be set like this:QTabBar::scroller { width: 30px; }. to style the individual arrows use::right-arrowand::left-arrowsub-controls of QToolButton.
Some examples are available here.