Good day pythonistas and the rest of the coding crowd,
I have two QMainWindows designed and coded separately. I need to:
- display first
- on a button-press close the first window
- construct and display the second window using the arguments from the first
I have tried to design a third class to control the flow but it does not understand my signal/slot attempt:
QtCore.QObject.connect(self.firstWindow,QtCore.SIGNAL("destroyed()"),self.openSecondWindow)
Oh gurus, would you enlighten me on some clever way or a witty hack to solve my hardships.
Cheers.