July 1, 2011

f56bre f56bre
Lab Rat
1 posts

MouseOver animation on QTabBar



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


2 replies

July 1, 2011

peppe peppe
Ant Farmer
1005 posts

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


Software Engineer
KDAB (UK) Ltd., a KDAB Group company

July 1, 2011

Gerolf Gerolf
Hobby Entomologist
3251 posts

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


Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

  ‹‹ QT installation for VS2010      Fast Painting region by region ››

You must log in to post a reply. Not a member yet? Register here!