quantum_nodes.ui.panels

Modules

quantum_nodes.ui.panels.main_panel

class quantum_nodes.ui.panels.main_panel.MainPanel

Bases: Panel

Main panel of Quantum Nodes.

bl_category: str = 'Quantum Nodes'

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

Type

str

bl_idname: str = 'AN_PT_MainPanel'

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 = 'Quantum Nodes'

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] = 'NODE_EDITOR'

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.ui.panels.main_panel.register()
quantum_nodes.ui.panels.main_panel.unregister()