//****************************************************************
PythonConsole::PythonConsole(QWidget* parent, PyInterp_base* interp)
-: QWidget(parent)
+: QWidget(parent), myEditor( 0 )
{
// create python interpreter
myInterp = interp;
{
}
+//****************************************************************
+void PythonConsole::exec( const QString& command )
+{
+ if ( myEditor )
+ myEditor->exec( command );
+}