PDA

View Full Version : QTabBar::tabInserted(int..) never calls



khcbabu
15th January 2009, 15:21
I am trying to overload a QTabBar function, strangely it never calls...


void MyTabt::tabInserted(int index){
qDebug()<<"the function that never calls !!";
emit refreshOnTabAdd();
}

Any suggestion will be very helpful to me.
thanks

jpn
16th January 2009, 17:04
Did you remember to set the tabbar to a tabwidget? :)