Hello Jean, I think is possible using wid (Windows ID),<div>you can embed external app in a qt widget getting it wid and passing it to your qt widget.</div><div>Then you can try get wid from ipython-qtconsole or call ipython using $xterm ipython -into your_widget_wid</div>
<div>and xterm with ipython should be embed in your widget.</div><div> </div><div>try this</div><div><div>#include<QtGui></div><div>#include<QApplication></div><div>int main(int argc,char *argv[])</div><div>
{</div>
<div> QApplication app(argc,argv);</div><div> QDialog ipython;</div><div> qDebug()<<"Wid "<<ipython.winId();</div><div> ipython.exec();</div><div> return app.exec();</div><div>}</div></div><div>
Output Exaple: Wid 56623106</div><div>and in a terminal run xterm -into 56623106 ipython</div><div><br></div><div>then you can see ipython into xterm into your widget.</div><div><br></div><div>bye.<br><br><div class="gmail_quote">
On Wed, Mar 7, 2012 at 4:41 AM, Jean-Francois Romang <span dir="ltr"><<a href="mailto:jeanfrancois.romang@gmail.com">jeanfrancois.romang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
After searching for documentation it is not clear for me ; is it<br>
possible to embed ipython as a console widget in a Qt C++ application<br>
? Are there any links showing how I can achieve this ?<br>
Thanks !<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Omar Andres Zapata Mesa</span><div>
<span style="border-collapse:collapse;font-family:arial,helvetica,sans-serif;font-size:13px;line-height:19px;white-space:pre-wrap">Fundamental Interaction Phenomenology Gruop (Gfif)</span><br><span style="border-collapse:collapse;font-size:13px"><div style="font-family:arial,sans-serif">
Head Developer </div><div style="font-family:arial,sans-serif"><font face="arial, helvetica, sans-serif"><a href="http://gfif.udea.edu.co/" style="color:rgb(64,100,128)" target="_blank">http://gfif.udea.edu.co</a><br></font></div>
</span><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px">Gfif Developers (Gfif Dev)</span><span style="border-collapse:collapse;font-size:13px"><div style="font-family:arial,sans-serif">Division of computer science </div>
<div style="font-family:arial,sans-serif"><a href="http://gfifdev.udea.edu.co/" style="color:rgb(64,100,128)" target="_blank">http://gfifdev.udea.edu.co</a></div><div style="font-family:arial,sans-serif"><div>System Engineering Student</div>
<div>Universidad de Antioquia At Medellin - Colombia</div><div>Usuario Linux #490962</div></div></span></div></span><br>
</div>