Is that subclass of QAbstractNativeEventFilter contained data is a good idea?
as the title,
suppose I have a counter in the EventFilter and modifed when event happened
is this a good idea?
Without any more information about what you want to achieve there's only one answer: maybe