title: Eclipse - pyqt application opening in a separate window in MAC
body: <p>I have a very simple pyqt application and using Eclipse pydev to develop my application.</p>
  
  <pre class="lang-python prettyprint-override"><code>import sys
  from PyQt4 import QtGui
  
  
  def main():
  
      app = QtGui.QApplication(sys.argv)
  
      w = QtGui.QWidget()
      w.resize(250, 150)
      w.move(300, 300)
      w.setWindowTitle('Simple')
      w.show()
  
      sys.exit(app.exec_())
  
  
  if __name__ == '__main__':
      main()
  </code></pre>
  
  <p>When I try to run this application, it opens a pyqt application as a separate window and I have to do a Ctrl + TAB to find the application.</p>
  
  <p>Is there a way for eclipse pydev to open the small app within eclipse window itself.</p>