[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: Missing QEvent.Type members
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2023-06-08 15:39:52
Message-ID: 9f8c582519762512cacd351b0cec2ce9 () riverbankcomputing ! com
[Download RAW message or body]
On 07/06/2023 21:29, Florian Bruhin wrote:
> Hey,
>
> The following QEvent::Type members are documented in Qt6:
> https://doc.qt.io/qt-6/qevent.html#Type-enum
>
> but absent from PyQt 6.5.1:
>
> QEvent::Quit = 20
> QEvent::NativeGesture = 197
> QEvent::EnterEditFocus = 150
> QEvent::LeaveEditFocus = 151
>
> The last two require QT_KEYPAD_NAVIGATION defined which isn't the
> default.
>
> I noticed the issue because I was converting event types to strings for
> debugging in an event filter, and noticed 197 popping up with the issue
> I'm trying to debug.
>
> I then found the others by writing a quick throw-away script to compare
> them against the C++ sources, and manually ignoring the remaining 24
> undocumented/deprecated ones.
Fixed - thanks.
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic