Query menuItem command via PySide

Query menuItem command via PySide

AronDurkin
Enthusiast Enthusiast
315 Views
0 Replies
Message 1 of 1

Query menuItem command via PySide

AronDurkin
Enthusiast
Enthusiast

I need to get the commands attached to menuItems I / PySide didn’t create.

How might you find out what a menu Item or button does. Ie. The command that attached to it via PySide.

menuItems come up as object QAction /  QWidgetAction and I can get labels and tool tips but I’ve no idea how to query it’s connections to slots.

I might just use cmds.menuItem stuff but I’m trying not to mix qt and cmds.

0 Likes
316 Views
0 Replies
Replies (0)