Oh, ha. I haven't used the node editor yet. That's great though.

I'm still curious about the issue though, is it possible to stop shortcut key 
propagation in Maya or is that just a headache and asking for trouble?

On Friday, March 15, 2013 3:40:55 PM UTC-7, Ravi Jagannadhan wrote:
> Doesn't the Node Editor let you do creation completion when hitting the Tab 
> key? You could use that.
> 
> 
> 
> 
> On Fri, Mar 15, 2013 at 3:03 PM, Jesse Capper <[email protected]> wrote:
> 
> 
> As a side project I'm seeing if I can create a node-creation popup for the 
> hypershade similar to what Nuke has in it's node graph. The idea is that 
> hitting tab in a workArea/hyperShadeGraphPanel will popup something like a 
> combobox with completion and you can type in a node to create.
> 
> 
> 
> 
> 
> If I attach an eventFilter on the paneLayout of the hypershade work area, the 
> only Key related event that gets thrown when I hit tab is ShortcutOverride. 
> If I accept the event and/or return True, the shortcut still seems to 
> propogate, and the focus is changed from that widget that the eventFilter was 
> attached to (which is the normal behavior). At the time of the eventFilter's 
> execution, the eventFilter's object is still the widget with focus, so the 
> focus change is happening afterwards.
> 
> 
> 
> 
> 
> Anyone have any ideas or other methods for implementing something like this 
> or intercepting a tab key on a maya widget?
> 
> 
> 
> --
> 
> You received this message because you are subscribed to the Google Groups 
> "Python Programming for Autodesk Maya" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> 
> To post to this group, send email to [email protected].
> 
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Where we have strong emotions, we're liable to fool ourselves - Carl Sagan

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to