I put a comment above that line ;-) It was to still pass the key event to the dialog in addition to the text edit. It may or may not still be needed depending on what type of widget you really are reimplementing the keyPressEvent on. On Jul 24, 2013 12:55 AM, "iMath" <[email protected]> wrote:
> thanks ,but what’s the purpose of this line “super(Window, > self).keyPressEvent(event)” in your code ? > > -- > 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.
