Layout

class Layout[source]

Bases: object

The Layout class manages all the layout and other UI-related information of the viewer.

Parameters:
configcompas_viewer.configurations.layout_config.LayoutConfig

The configuration object for the layout.

References

PySide6/QtWidgets/QLayout

Attributes:
configcompas_viewer.configurations.layout_config.LayoutConfig

The configuration object for the layout.

viewercompas_viewer.viewer.Viewer

The parent viewer.

windowcompas_viewer.layout.layout.WindowLayout

The window layout.

statusbarcompas_viewer.layout.layout.StatusbarLayout

The status bar layout.

menubarcompas_viewer.layout.layout.MenubarLayout

The menu bar layout.

viewportcompas_viewer.layout.layout.ViewportLayout

The viewport layout.

toolbarcompas_viewer.layout.layout.ToolbarLayout

The tool bar layout.

sidedockcompas_viewer.layout.layout.SidedockLayout

The side dock layout.

Methods

init

Set up the layout.

update

Update all the UI elements.