Python editor: Add buttons & actions for opening REPL

Opens interactive Python, optionally with the current file imported, for
testing and experimentation.

Change-Id: Ieb120e3698bdba77a1445c40fe7fda533773a0cf
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Eike Ziller
2020-03-10 16:26:20 +01:00
parent be9d5fa0d9
commit 3b5fc296f2
6 changed files with 135 additions and 2 deletions

View File

@@ -136,6 +136,11 @@ void ConsoleProcess::setCommand(const CommandLine &command)
d->m_commandLine = command;
}
CommandLine ConsoleProcess::command() const
{
return d->m_commandLine;
}
void ConsoleProcess::setSettings(QSettings *settings)
{
d->m_settings = settings;