this code really work but i want know somthing
the main window (as the class) it inherited (QMainWindow, Ui_MainWindow)
as i go to QMainWindow.py there are keyPressEvent(self, *args, **kwargs)
so i modified qwindow.py ex)
def keyPressEvent(self, *args, **kwargs): # real signature unknown
print("this is test")
pass
but when i run the program it doesn't work
i want to modify qmainwindow.py so it can work any sysytem without inherted it
is there any idea?