Is there a function that checks if UI window is still opened.
I would like to end a process if the UI is closed. Maybe something similar to isActiveWindow().
you can check the isHidden() method
PyQt5 - how to check if UI window is opened