mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-11 08:23:46 +00:00
Add python shell qt window
This commit is contained in:
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())
|
||||
|
||||
@@ -55,6 +55,8 @@ public:
|
||||
static void GlobalInit();
|
||||
static void GlobalShutdown();
|
||||
|
||||
QString versionString();
|
||||
|
||||
template <typename T>
|
||||
void setGlobal(const char *varName, T *object)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user