Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. What is this object called?
Qt 6.12 LTS is out! See what's new in the release blog

What is this object called?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 851 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    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.

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by Chris Kawa
      #2

      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-arrow and ::left-arrow sub-controls of QToolButton.
      Some examples are available here.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt
      • Unsolved