QNodeEditor.widgets.label.Label#

class QNodeEditor.widgets.label.Label(*args, theme: ~typing.Type[~QNodeEditor.themes.theme.Theme] = <class 'QNodeEditor.themes.dark.DarkTheme'>, **kwargs)#

Bases: QLabel

Custom QLabel with node editor theme styling

Properties

theme

Get or set the current label theme.

Methods

__init__

Create a new themed label

__init__(*args, theme: ~typing.Type[~QNodeEditor.themes.theme.Theme] = <class 'QNodeEditor.themes.dark.DarkTheme'>, **kwargs)#

Create a new themed label

Parameters:

theme (Type[Theme], optional) – Theme for the label (default: DarkTheme)

property theme: Type[Theme]#

Get or set the current label theme.