[Solved] Python Window Parent and Child Question - When Parent Closes, Child should Close too
Does anyone know how to set the parent of a window & when the parent closes, the child also closes if open as well?
Here is my code:
@# parent is defined
child.setParent( parent, QtCore.Qt.Popup )@
This is the best solution I could find...but it takes away the menu bar from the child window...
Solved it :)
Code for anyone who needs it in the future: