Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTabWidget - flash tab upon update

QTabWidget - flash tab upon update

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.6k 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.
  • HunterMetcalfeH Offline
    HunterMetcalfeH Offline
    HunterMetcalfe
    wrote on last edited by
    #1

    I'm curious as to whether there is anyway to flash a tab in a QTabWidget based upon a certain event. Similar to how windows flashes icons when something has changed with them.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      There is no flash tab function I ever saw.
      You can use a timer or QAnimation and change text color or something like that.

      HunterMetcalfeH 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi
        There is no flash tab function I ever saw.
        You can use a timer or QAnimation and change text color or something like that.

        HunterMetcalfeH Offline
        HunterMetcalfeH Offline
        HunterMetcalfe
        wrote on last edited by
        #3

        @mrjj What about setting a specific tabs back-ground color? I'm currently researching and all I find is simply setting text color

        mrjjM 1 Reply Last reply
        0
        • HunterMetcalfeH HunterMetcalfe

          @mrjj What about setting a specific tabs back-ground color? I'm currently researching and all I find is simply setting text color

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by mrjj
          #4

          @HunterMetcalfe
          Could work but wont that flash all of the tab (whole client area) ?
          Nope, its separate widget from the Client widget.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi
            I think you must use stylesheet for it
            https://forum.qt.io/topic/33307/solved-qtabwidget-change-tab-s-background-color

            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 Extensions
            • Unsolved