Unsolved How to capture events in forms
-
Hi
I have a subclass of widget W with different child widgets A,B,C. on it..this W widget is placed on QMainwindow....
How do I capture child widget A events in subclass W? -
Depending on what you really want to do, you could use QObject::eventFilter()
-
@Christian-Ehrlicher I want focusInEvent for all child lineedit.
Any python code will be appreciated -
Hi
Maybe this can be used
https://gist.github.com/stevenliebregt/8e4211937b671ac637b610650a11914f
note sample uses QEvent.TouchBegin but you want other event.