Simulate QMenu hover on a QAction?

Maurizio Berti maurizio.berti at gmail.com
Tue Jul 27 15:16:34 BST 2021


Il giorno mar 27 lug 2021 alle ore 09:33 Matic Kukovec <
kukovecmatic at hotmail.com> ha scritto:

> I just rechecked, and yes, I'm not using a QAction, but a QWidgetAction on
> which I first set a default widget with *setDefaultWidget*,
> which is a groupbox with a few labels with text/images, then add a menu
> with *setMenu*.
>

Uhm. I see a QComboBox that shows what appears to be a QMenu instead of the
standard popup, so, yes, that could be the issue, especially if you're
overriding the popup behavior on mouse press.
I suggest you to share a minimal reproducible example so that we could
better understand what's going on.

Maurizio
-- 
È difficile avere una convinzione precisa quando si parla delle ragioni del
cuore. - "Sostiene Pereira", Antonio Tabucchi
http://www.jidesk.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210727/ff555796/attachment.htm>


More information about the PyQt mailing list