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)
isError = False
widget
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.

enter(source)
load_file(f, **kwargs)
replace_snippet(number=None)
runCode()
select(product)
c = None
editor
layout
model = None
output
runbutton
snippets
tools
viewer
width
ifcopenshell.geom.code_editor_pane.QtWidgets
ifcopenshell.geom.code_editor_pane.has_pyqode = True