View Full Version : Make QTabBar blink when an item get inserted to this child widgets
comvis
16th May 2019, 14:24
Hello Qt Devs, I have a pretty hard problem, that is: I have multiple tabs from QTabWidgets and each tab has its own qlistwidget for displaying items. What I want to achieve is a tab blink whenever an item gets dropped into its child widgets. I know the signal is rowsInserted and would like to ask a slot function and should I need subclassing QTabWidget and QTabBar?
anda_skoa
17th May 2019, 15:54
Depends on how you want to do this "blinking".
Could be done without subclassing for example by changing the tab's text color a couple of times.
See QTabBar::setTabTextColor().
Cheers,
_
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.