Pyqt popup window. Here is a QtDesigner derived file for main window.