[python] QConsole

By alexhuang

http://qconsole.sourceforge.net/

QtclConsole inherits from QConsole and emulates a TCL shell in a Qt application. So basically, the user is able to execute any TCL built-in command and also any other user-defined commands created using the TCL C-API. These commands should represent all the features of a given application, so the user will be able to execute them using the GUI and also in the embedded TCL shell. This is very useful in the EDA (Electronic Design Automation) field where most of the tools are using TCL scripting and Qt as well.

QPyConsole inherits from QConsole and implements a Python shell in a Qt application, similar to QtclConsole. The qpyconsole sample application shows how to use the QPyConsole class in a qt application. For a real world application, one would of course extend the embedded Python interpreter with a complete API of the application that is to be made scriptable.

Leave a Reply