[PyQt] QKeySequence.Quit missing

Christoph Burgmer chrislb at gmx.de
Sat Mar 6 17:14:06 GMT 2010


It seems QKeySequence.Quit and QKeySequence.Preferences are missing from enum 
QKeySequence::StandardKey

>>> from PyQt4.QtGui import QKeySequence
>>> QKeySequence.InsertLineSeparator
62
>>> QKeySequence.SaveAs
63
>>> QKeySequence.Preferences
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'QKeySequence' has no attribute 'Preferences'
>>> QKeySequence.Quit
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: type object 'QKeySequence' has no attribute 'Quit'

I'm running 4.6 on Debian.

-Christoph


More information about the PyQt mailing list