• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • ConstructShell
  • ConstructShell Class

    The whole Construct CAD editor in one widget. More...

    Header: #include <ConstructShell>
    Inherits: QWidget, construct::settings::IRenderSettingSink, and construct::document::IDocumentHost

    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, and ConstructMain.