Using Qt in Maya - Question about pull down menu response
-
I have been writing a GUI for Maya using Qt Creator. I am using the loadUI command to load the ui in Maya. I embed in the controls the Mel script that will execute when I interact with the controls. I do this using the Dynamic Property like AutoDesk prescribes. Thus far it has worked pretty solid--on everything except the menu options.
When I add a menu item, it is a QAction. Even though I can add a Dynamic Property to a QAction, it doesn't seem to broadcast anything to Maya. I'm not sure of what underlying Maya GUI item correlates to a QAction to properly configure the mel script call--which is likely the cause of my problems. I just wonder if anyone out there has had any experience programming the menu pulldowns for Maya using creator.