PythonConsole_PyInterp.cxx
LIB_MOC = \
- PythonConsole_PyEditor.h
+ PythonConsole_PyEditor.h \
+ PythonConsole_PyConsole.h
CPPFLAGS+= $(PYTHON_INCLUDES) $(QT_INCLUDES)
class PYCONSOLE_EXPORT PythonConsole: public QWidget
{
+ Q_OBJECT;
+
public:
PythonConsole(QWidget* parent, PyInterp_base* interp = 0 );
virtual ~PythonConsole();
_currentPrompt = READY_PROMPT;
_buf.truncate(0);
_isInHistory = false;
- setText(_currentPrompt);
+ setText( "\n" + _currentPrompt);
setText( command + "\n" );
handleReturn();
}