Layout
- class Layout[source]
Bases:
object
The Layout class manages all the layout and other UI-related information of the viewer.
- Parameters:
- config
compas_viewer.configurations.layout_config.LayoutConfig
The configuration object for the layout.
- config
References
- Attributes:
- config
compas_viewer.configurations.layout_config.LayoutConfig
The configuration object for the layout.
- viewer
compas_viewer.viewer.Viewer
The parent viewer.
- window
compas_viewer.layout.layout.WindowLayout
The window layout.
- statusbar
compas_viewer.layout.layout.StatusbarLayout
The status bar layout.
- menubar
compas_viewer.layout.layout.MenubarLayout
The menu bar layout.
- viewport
compas_viewer.layout.layout.ViewportLayout
The viewport layout.
- toolbar
compas_viewer.layout.layout.ToolbarLayout
The tool bar layout.
- sidedock
compas_viewer.layout.layout.SidedockLayout
The side dock layout.
- config
Methods
Set up the layout.
Update all the UI elements.