QRendererGui¶
- class QRendererGui(gui, design: QDesign, initiate=True, fig=None, ax=None)[source]¶
Abstract base class for the GUI rendering.
Extends QRenderer. An interface class.
- Parameters:
Attributes
Return a reference to the parent design object.
Element extensions dictionary
Element table data.
Returns the logger.
Name
Options for the QRenderer.
Methods
During init of renderer, this needs to happen.
Clear the axis.
Clear the figure.
Returns an already loaded and instantiated renderer.
QRendererGui.get_template_options
(design[, ...])Creates template options for the Metal QRenderer class required for the class to function, based on the design template; i.e., be created, made, and rendered.
Confirm the list doesn't have names of components repeated.
Load the renderer and register all its extensions.
QRendererGui.parse_value
(value)Same as design.parse_value.
Populate cls.element_extensions which will be used to create columns for tables in QGeometry tables.
QRendererGui.render_component
(component)Render the given component.
Render connectors.
QRendererGui.render_design
([selection])Render the design.
Render shapely.
Set the given ax.
QRendererGui.set_fig
(fig)Set the given figure.
Setup the given figure.
QRendererGui.start
([force])Call any initialization (single run) step required to setup the renderer for the first execution, such as connecting to some API or COM, or importing the correct material libraries, etc.
Any calls that one may want to make after a rendering is complete.
Style the axis.
QRendererGui.update_options
([...])If template options has not been set for this renderer, then gather all the default options for children and add to design.