quantum_nodes.demo_addon.panels

Modules

quantum_nodes.demo_addon.panels.qn_demo_addon

class quantum_nodes.demo_addon.panels.qn_demo_addon.AN_Q_DemoAddon

Bases: Panel

Main panel of the demo addon.

addRow(n)
bl_category: str = 'QN Demo'

The category (tab) in which the panel will be displayed, when applicable

Type

str

bl_idname: str = 'AN_Q_PT_addon_demo_ui'

If this is set, the panel gets a custom ID, otherwise it takes the name of the class used to define the panel. For example, if the class name is "OBJECT_PT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_PT_hello"

Type

str

bl_label: str = 'QN Demo'

The panel label, shows up in the panel header at the right of the triangle used to collapse the panel

Type

str

bl_region_type: Union[str, int] = 'UI'

The region where the panel is going to be used in

Type

Union[str, int]

bl_space_type: Union[str, int] = 'VIEW_3D'

The space where the panel is going to be used in

Type

Union[str, int]

draw(context)

Draw UI elements into the panel UI layout

Parameters

context ('Context') --

quantum_nodes.demo_addon.panels.qn_demo_addon.register()

quantum_nodes.demo_addon.panels.qn_demo_addon_mesh_panel

class quantum_nodes.demo_addon.panels.qn_demo_addon_mesh_panel.AN_Q_DemoAddonMeshPanel

Bases: Panel

Demo addon mesh panel.

bl_category: str = 'QN Demo'

The category (tab) in which the panel will be displayed, when applicable

Type

str

bl_idname: str = 'AN_Q_PT_DemoAddonMeshPanel'

If this is set, the panel gets a custom ID, otherwise it takes the name of the class used to define the panel. For example, if the class name is "OBJECT_PT_hello", and bl_idname is not set by the script, then bl_idname = "OBJECT_PT_hello"

Type

str

bl_label: str = 'Add a new mesh'

The panel label, shows up in the panel header at the right of the triangle used to collapse the panel

Type

str

bl_region_type: Union[str, int] = 'UI'

The region where the panel is going to be used in

Type

Union[str, int]

bl_space_type: Union[str, int] = 'VIEW_3D'

The space where the panel is going to be used in

Type

Union[str, int]

draw(context)

Draw UI elements into the panel UI layout

Parameters

context ('Context') --