Python class for redirection of stdin to an input dialog of Qt. More...
#include <PythonConsolePy.h>
Public Member Functions | |
PythonStdin (PythonConsole *pc) | |
Py::Object | readline (const Py::Tuple &) |
Py::Object | repr () |
~PythonStdin () | |
Static Public Member Functions | |
static void | init_type (void) |
Python class for redirection of stdin to an input dialog of Qt.
Definition at line 127 of file PythonConsolePy.h.
PythonStdin::PythonStdin | ( | PythonConsole * | pc | ) |
Definition at line 291 of file PythonConsolePy.cpp.
PythonStdin::~PythonStdin | ( | ) |
Definition at line 297 of file PythonConsolePy.cpp.
void PythonStdin::init_type | ( | void | ) | [static] |
Definition at line 282 of file PythonConsolePy.cpp.
References Py::PythonExtension< PythonStdin >::add_varargs_method(), Py::PythonExtension< PythonStdin >::behaviors(), and readline().
Referenced by Gui::Application::Application().
Py::Object PythonStdin::readline | ( | const Py::Tuple & | args | ) |
Definition at line 311 of file PythonConsolePy.cpp.
References Gui::PythonInputField::clear(), draftlibs::fcgeo::connect(), and Gui::PythonInputField::getText().
Referenced by init_type().
Py::Object PythonStdin::repr | ( | ) | [virtual] |
Reimplemented from Py::PythonExtensionBase.
Definition at line 303 of file PythonConsolePy.cpp.