Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-67076

Add a 'highlighted' pseudo-state to QTabBar tabs

    XMLWordPrintable

Details

    Description

      A fairly common scenario for QTabBar tabs is to make them blink in response to something happening in a tab. Right now options to change individual tab's look are limited - it's easy to make a tab icon blink, but changing a single tab's background color is difficult (usually involving subclassing widgets and overriding paint events), and QTabBar methods to e.g. change tab's text seem to be overridden by any CSS affecting the tab.

       

      Giving the tab sub-control a 'highlighted' pseudo-state (or possibly a property, if making it a state could cause issues) would make it much easier to blink a tab, while putting responsibility for actual look of the blinking in the CSS.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            ikotrasinsk Igor Kotrasiński
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes