Setuav Studio Developer Documentation 1.0
SDK and plugin development reference for Setuav Studio
Loading...
Searching...
No Matches
setuav_studio_sdk.contributions.PanelContribution Class Reference

Dockable panel supplied by a plugin. More...

Collaboration diagram for setuav_studio_sdk.contributions.PanelContribution:

Public Member Functions

bool is_in_workspace (self, str|None current_workspace_id)
 Return whether this panel belongs to the selected workspace.
 

Detailed Description

Dockable panel supplied by a plugin.

The factory is called lazily on the Qt UI thread. An omitted workspace_id makes the panel available in every workspace.

Parameters
idGlobally unique, stable panel identifier.
titleUser-visible panel title.
factoryZero-argument widget factory.
areaInitial Qt dock area.
workspace_idOne workspace, multiple workspaces, or all workspaces.
iconOptional icon name, file path, or QIcon.