WindowLayout

class WindowLayout[source]

Bases: object

The WindowLayout class manages all the layout and other UI-related information of the window itself.

Parameters:
layoutcompas_viewer.layout.Layout

The parent layout.

References

PySide6/QtWidgets/QMainWindow

Attributes:
layoutcompas_viewer.layout.Layout

The parent layout.

viewercompas_viewer.viewer.Viewer

The parent viewer.

configcompas_viewer.configurations.WindowConfig

The window configuration.

Methods

about

Display the about message as defined in the config file.

confirm

Confirm the execution of an action.

critical

Display a critical warning.

info

Display info.

init

Set up the window layout.

question

Ask a question.

warning

Display a warning.