Add python shell qt window

This commit is contained in:
baldurk committed 2017-04-19 18:03:19 +01:00
1 parent 31050d651e
commit 2a4596e06a
13 files changed
+858 -4

No files matched your search

@@ -424,6 +424,11 @@ void PythonContext::GlobalShutdown()
Py_Finalize();
}
QString PythonContext::versionString()
{
return QString("%1.%2.%3").arg(PY_MAJOR_VERSION).arg(PY_MINOR_VERSION).arg(PY_MICRO_VERSION);
}
void PythonContext::executeString(const QString &filename, const QString &source, bool interactive)
{
if(!initialised())