ifcopenshell.geom.code_editor_pane#

Module Contents#

ifcopenshell.geom.code_editor_pane.QtWidgets#
ifcopenshell.geom.code_editor_pane.has_pyqode = True#
class ifcopenshell.geom.code_editor_pane.StdoutRedirector(widget)#

Bases: object

A class for redirecting stdout to this Text widget.

write(self, myStr)#
class ifcopenshell.geom.code_editor_pane.code_edit(viewer, snippets=None)#

Bases: PyQt5.QtWidgets.QWidget

class Console(*args)#

Bases: code.InteractiveConsole

Closely emulate the behavior of the interactive Python interpreter.

This class builds on InteractiveInterpreter and adds prompting using the familiar sys.ps1 and sys.ps2, and input buffering.

Constructor.

The optional locals argument will be passed to the InteractiveInterpreter base class.

The optional filename argument should specify the (file)name of the input stream; it will show up in tracebacks.

enter(self, source)#
load_file(self, f, **kwargs)#
replace_snippet(self, number=None)#
runCode(self)#
select(self, product)#