nqrduck.core.main_controller#
The main controller of the application.
Classes
|
The main controller of the application. |
- class nqrduck.core.main_controller.MainController(*args: Any, **kwargs: Any)#
The main controller of the application.
This class loads all modules with entry points in the nqrduck group. It also connects the nqrduck_signal to the dispatch_signals slot and creates the menu bar entries.
- Parameters:
main_model (MainModel) β The main model of the application
- create_notification_dialog#
Signal to create a notification dialog
- Type:
pyqtSignal
- create_notification_dialog#
alias of
list
- dispatch_signals(key: str, value: object) None#
Dispatches the signals to the according module.
This method is connected to the nqrduck_signal of the modules. Itβs the main way of communication between the modules.
- Parameters:
key (str) β The key of the signal
value (object) β The value of the signal