title: Adding a Python/IPython console widget to Qt application
body: <p>I have searched and searched for good information on this but I have been unable to find a solution.</p>
  
  <p>I am working on a Qt application which has an embedded python interpreter - all working nicely! The user may drive the application via python code processed by the embedded interpreter.</p>
  
  <p>My problem is that the "console" is little more than a line edit widget which essentially allows the user input text to the embedded interpreter.</p>
  
  <p>What I really need is python console widget <strong>driving my embedded python interpreter</strong>, with tab complete. Tab complete is virtually essential. Text highlighting would be a bonus. If I could even integrate a normal python console I could start ipython using the "from IPython import embed; embed()" trick.</p>
  
  <p>There may be a hundred ways to do this, and it may be obvious to some, but it honestly has me beat! Any assistance would be greatly appreciated.</p>
  
  <p>Thanks :)</p>