SidedockLayout

class SidedockLayout[source]

Bases: object

The SidedockLayout class manages all the layout and other UI-related information of the side dock itself.

Parameters:
layoutcompas_viewer.layout.Layout

The parent layout.

See also

compas_viewer.configurations.layout_config.SidedockConfig

References

PySide6/QtWidgets/QDockWidget

Attributes:
layoutcompas_viewer.layout.Layout

The parent layout.

viewercompas_viewer.viewer.Viewer

The parent viewer.

configcompas_viewer.configurations.WindowConfig

The window configuration.

Methods

add_element

Add an element to the sidedock.

init

update

Update the elements in the sidedock.