Important: Please read the Qt Code of Conduct -

MouseOver animation on QTabBar

  • Hi,

    Is it possible to animate separately tabs of QTabBar (which own to a QTabWidget in my case) when the mouse pass over?
    I only succeed in detecting the mouse over the entire bar, not only a Bar Item.

    Thanks by advance


  • Animate how? You can find out which bar the mouse is over by using QTabBar::tabAt.

  • You can use style sheets for custom coloring, but it will be no animation, just static colors and pictures.

Log in to reply