Results 1 to 2 of 2

Thread: Make QTabBar blink when an item get inserted to this child widgets

  1. #1
    Join Date
    May 2019
    Posts
    4
    Thanks
    2
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Make QTabBar blink when an item get inserted to this child widgets

    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?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,336
    Thanks
    36
    Thanked 1,529 Times in 1,480 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Make QTabBar blink when an item get inserted to this child widgets

    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,
    _

Similar Threads

  1. Replies: 0
    Last Post: 10th March 2015, 02:03
  2. Replies: 0
    Last Post: 17th November 2011, 11:51
  3. QTabBar make all tabs out of focus
    By migel in forum Newbie
    Replies: 1
    Last Post: 24th August 2011, 12:38
  4. Replies: 5
    Last Post: 18th April 2010, 23:31
  5. How to make an object blink in Qt?
    By thirupathiuppu007 in forum Qt Programming
    Replies: 2
    Last Post: 22nd February 2008, 10:30

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.