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