ConstructShell

The whole Construct CAD editor in one widget.

Declared in src/libs/libconstruct/construct/ui/ConstructShell.hpp
Inherits QWidget, construct::settings::IRenderSettingSink, and construct::document::IDocumentHost
Group construct

Detailed description

ConstructShell holds the editor: the document tabs, the scene viewport, the scene tree, the panels, the toolbars and the render settings. It also creates the definition editor, SDFPrimitiveEditorWidget, as a separate window. Each open document has its own DocumentContext, and the shell points its panels at the active one.

Two hosts create it. The standalone construct application creates it in ConstructMain and gives it a standalone context with setStandaloneContext(). In a node, ConstructWidget creates it for ConstructActivity. The host gives the shell its Settings through configure().

See also SceneWidget, construct::rendering::SceneWorkerWidget, ConstructMain.

In this section