Hi All!
I'm writing plugin for docking chats (for IM) in one window with tabs.
When I call setToolTip,setTabIcon for tab (active or inactive). The tooltip in this tab will not update, but TabIcon Does.
But when i click to change tab for different tab, everything update to this what I set before.
I was traying for repaint(), removeToolTip and set after but nothing works for me.
Don't know what to do, anyone know? It could be Qt problem?
Qt 3.3.7
Thank You
Bart.
...
if(tabdialog->indexOf(chat)!=-1){
tabdialog->setTabToolTip(chat, chat->title());
if(tabdialog->currentPage()==chat){
tabdialog->setCaption(chat->title());
tabdialog->setIcon(ule.status(protocolName).pixmap());
}
tabdialog->changeTab(chat, ule.status(protocolName).pixmap(), ule.altNick());
}
...
...
if(tabdialog->indexOf(chat)!=-1){
tabdialog->setTabToolTip(chat, chat->title());
if(tabdialog->currentPage()==chat){
tabdialog->setCaption(chat->title());
tabdialog->setIcon(ule.status(protocolName).pixmap());
}
tabdialog->changeTab(chat, ule.status(protocolName).pixmap(), ule.altNick());
}
...
To copy to clipboard, switch view to plain text mode
Bookmarks