[Solved]Context menu
-
Hellow, i have connect
@connect(tabWidget->getCurrentTabBar(), SIGNAL(customContextMenuRequested(const QPoint &)),this, SLOT(showContextTabMenu(const QPoint &)));@
getCurrentTabBar - is my function, it return point to QTabBar
Slot showContextTabMenu:@
void RizekMath::showContextTabMenu(const QPoint &pos)
{
qDebug() << "call menu!!!";
//other actions
}
@But this slot never call, why?
In advance, thank for help![EDIT: code formatting, Volker]