--
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
I'll give it another go tonight. Can you think of any other way to hook into the tab key?
Thanks for your response. I should've mentioned, I did try installing an event filter, but it reported events from essentially ALL keys, EXCEPT tab. :)
I'll give it another go tonight. Can you think of any other way to hook into the tab key?
in the pyside docs here is what is said about using TAB for both the default behavior (focusing on buttons) and capturing the keypress;
https://deptinfo-ensip.univ-poitiers.fr/ENS/pyside-docs/PySide/QtGui/QWidget.html
I’m betting someone out there has reimplemented the QWidget.event
method
DOCS:
Widgets that accept keyboard input need to reimplement a few more event handlers:
PySide.QtGui.QWidget.keyPressEvent() is called whenever a key is pressed, and again when a key has been held down long enough for it to auto-repeat. The Tab and Shift+Tab keys are only passed to the widget if they are not used by the focus-change mechanisms. To force those keys to be processed by your widget, you must reimplement QWidget.event() .
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/04dd609c-91e4-45c7-bbaf-73713e14e9e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.