[Interest] Use a statusTip on a QAction disabled

hizoka hizo at free.fr
Fri Mar 16 18:34:47 CET 2018


Hi,

I try without succes to attribute a statusTip on Qaction in a QmenurBar who works if the Qaction is enabled or disabled...

Impossible... When the Qaction is enabled, no problem but when it's disabled...

I tryed to use eventFilter on :
 - the Qaction : No event.
 - the Qmenu : some event (no statusTip event) but no way to know what Qaction is hovered
 - the QmenuBar : statusTip event but no way to know what Qaction is hovered

It's ok with a QtoolBar but I need to use a QmenurBar...

Any idea ?

Thanks !



More information about the Interest mailing list