Notifications Plugin

Plugin to handle error status notifications.

class qtpyvcp.plugins.notifications.Notifications(enabled=True, mode='native', persistent=True, persistent_file='.qtpyvcp_messages.json')[source]

Notification data plugin

Parameters:
  • 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’)
initialise()[source]

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()[source]

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.

timerEvent(event)[source]

Called every 200ms to poll error channel