you'll probably need to make sure that the filter is installed
on the qmenu before any items/slots are added.



without opening maya, that's about the best i can offer.



i'll have a play in the morning (2:30am here)



--
Jon Swindells
[email protected]





On Thu, Jul 10, 2014, at 02:24 AM, Tim Crowson wrote:

Well, your example works fine on its own. I'm trying to
incorporate it into an existing QMainWindow, and although the
menu draws correctly, it doesn't behave as though the
eventFilter is actually installed... i.e. Shift-clicking just
checks the item under the cursor and closes the menu. I'll keep
working with it.



-Tim



On 7/9/2014 6:02 PM, Jon Swindells wrote:

no problem. good luck :)



--
Jon Swindells
[1][email protected]





On Thu, Jul 10, 2014, at 01:46 AM, Tim Crowson wrote:

Oh wow, I was looking in another direction entirely. This looks
more interesting though. Thanks for sharing this because I
would not have figured this out at all. I tend to stick to the
pre-packaged events and setups, and rarely roll anything really
original.

-Tim








--

References

1. mailto:[email protected]

Reply via email to