[PyQt] QKeySequence.Quit missing
Phil Thompson
phil at riverbankcomputing.com
Sun Mar 7 18:59:09 GMT 2010
On Sat, 6 Mar 2010 18:14:06 +0100, Christoph Burgmer <chrislb at gmx.de>
wrote:
> 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.
4.6 of what? Support was added to Qt v4.6 and PyQt v4.7.
Phil
More information about the PyQt
mailing list