Solved My app don't show tooltips
-
Hello people... I have a problem with my app, that is that the tooltips does not show... can you help me..
This is the code:QAction *action = new QAction; action->setText("Example"); action->setToolTip("Example"); contextMenu->addAction(action);
-
This may help:
Qt Thread: [Solved] setToolTip in QAction menu -
This also seems relevant
https://forum.qt.io/topic/78790/tooltips-are-not-visible-while-hovering-over-menu-items/12 -
Thanks all... I have solved allready... I just needed one line of code:
contextMenu->setToolTipsVisible(true);