Results 1 to 2 of 2

Thread: QTabBar::tabInserted(int..) never calls

  1. #1
    Join Date
    May 2008
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QTabBar::tabInserted(int..) never calls

    I am trying to overload a QTabBar function, strangely it never calls...

    Qt Code:
    1. void MyTabt::tabInserted(int index){
    2. qDebug()<<"the function that never calls !!";
    3. emit refreshOnTabAdd();
    4. }
    To copy to clipboard, switch view to plain text mode 

    Any suggestion will be very helpful to me.
    thanks
    Last edited by jpn; 15th January 2009 at 15:25. Reason: missing [code] tags

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: QTabBar::tabInserted(int..) never calls

    Did you remember to set the tabbar to a tabwidget?
    J-P Nurmi

Similar Threads

  1. [MinGW] Multiple calls to qmake
    By Potch in forum Installation and Deployment
    Replies: 2
    Last Post: 21st December 2013, 07:30
  2. how to make system calls to be displayed in QLineEdit
    By wagmare in forum Qt Programming
    Replies: 2
    Last Post: 10th November 2008, 05:08
  3. Doxgen call graphs also for signal-slot calls?
    By zavulon in forum Qt Programming
    Replies: 0
    Last Post: 25th September 2008, 15:29
  4. Polymorphism with static calls
    By niko in forum General Programming
    Replies: 12
    Last Post: 9th November 2007, 09:52
  5. QTimer or recursive calls for simulation?
    By Morea in forum Qt Programming
    Replies: 3
    Last Post: 12th May 2006, 00:19

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.