ifcopenshell.geom.code_editor_pane

Module Contents

class ifcopenshell.geom.code_editor_pane.StdoutRedirector(widget)

A class for redirecting stdout to this Text widget.

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

Bases: PyQt5.QtWidgets.QWidget

class Console

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(source)
load_file(f, **kwargs)
replace_snippet(number=None)
runCode()
select(product)
ifcopenshell.geom.code_editor_pane.QtWidgets
ifcopenshell.geom.code_editor_pane.has_pyqode = True