sbox-issues icon indicating copy to clipboard operation
sbox-issues copied to clipboard

Allow handling QObject::event

Open gio3k opened this issue 3 years ago • 0 comments

For?

S&Box

What can't you do?

Handle QT events that aren't the ones included in NativeInterop

We can (in theory) currently receive the EventTypes - but we can't get the data for the event

How would you like it to work?

protected virtual void OnEvent(EventType type, QEvent data) {}
// even an IntPtr would be fine over not being able to get these events

What have you tried?

Nothing really, you could do some annoying hooking into the QT event() but that'd be hell

Additional context

No response

gio3k avatar Dec 18 '22 11:12 gio3k