Solved QEvent derived classes
-
Is the documentation for
QEvent::Type
and the subclasses it corresponds to exhaustive?For example, the documentation says
QKeyEvent
corresponds toKeyPress
,KeyRelease
andShortcutOverride
. If I'm handling an event inevent()
oreventFilter()
, if I get aQKeyEvent
, is it guaranteed to be one of those types? -
At least the default ones should be... (one of those).
Custom, registrated user events should have the typeQEvent::User
-QEvent::MaxUser
and an ID between 1000 and 65535 -
At least the default ones should be... (one of those).
Custom, registrated user events should have the typeQEvent::User
-QEvent::MaxUser
and an ID between 1000 and 65535