Qt-interest Archive, December 2006
QTabWidget/QTabBar and a custom context menu
Message 1 in thread
I need to display a context menu dependent on which tab bar item is clicked
on. This was easy for my QTreeWidget, I just used the itemAt() member, but I
don't see any hand member for QTabWidget like indexAt(const QPoint& point).
Did I just overlook it? Is there another way to do this? Using the current
tab would work, but it's not really what I want, if the user right clicks on
a specific tab title, I want the actions to effect that tab, not the current
tab. Thanks for your help. -John
--
[ signature omitted ]