title: PyQt window running for x seconds
body: <p>Is it possible to make PyQt window stay opened for x seconds, and then pass?</p>
  
  <pre><code>if __name__ == "__main__":
      import sys
      app = QtGui.QApplication(sys.argv)
      MainWindow = QtGui.QMainWindow()
      ui = Ui_MainWindow()
      ui.setupUi(MainWindow)
      MainWindow.show()
      sys.exit(app.exec_())
  #enough code?
  
  #pass to rest of the code?
  </code></pre>