I got it working after a click occurs in the viewport, but not when you just 
try and call setFocus() on the widget.


On Feb 13, 2013, at 11:35 PM, luiz elias wrote:

> it works fine if I install the eventFilter on the main window, but I can't 
> find a way to set keyboard focus for the QGLWidget.
> 
> thanks!
> 
> 
> 
> -- 
> 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.
>  
>  

-- 
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