nqrduck.module.module_model#

Base class for module model.

Classes

ModuleModel(*args, **kwargs)

Base class for module model.

class nqrduck.module.module_model.ModuleModel(*args: Any, **kwargs: Any)#

Base class for module model.

Parameters:

module (Module) – The module of the model

Signals:

widget_changed : Emitted when a widget has been changed

add_submodule(submodule)#

Adds a submodule to the module.

Parameters:

submodule (Module) – The submodule to add

property category#

The category of the module.

property config#

The configuration of the module.

property module#

The module of the model.

property module_type#

The type of the module.

property name#

The name of the module.

property submodules#

The submodules of the module.

property toolbar_name#

The name of the toolbar.

This is displayed in the main window.

property tooltip#

The tooltip of the module.