Plugin to handle error status notifications.
Notifications(enabled=True, mode='native', persistent=True, persistent_file='.qtpyvcp_messages.json')¶
Notification data plugin
- enabled (bool, optional) – Enable or disable notification popups (Default = True)
- mode (str, optional) – native or dbus (Default = ‘native’)
- persistent (bool, optional) – Store notifications in a file (Default = True)
- persistent_file (str, optional) – Path to the save file (Default = ‘.qtpyvcp_messages.json’)
Initialize the data plugin.
This method is called after the main event loop has started. Any timers or threads used by the plugin should be started here.
Terminate the data plugin.
This is called right before the main event loop exits. Any cleanup of the plugin should be done here, such as saving persistent data.
Called every 200ms to poll error channel