alertsmanager

The alertsmanager module contains the part of the plugin which manages storing and displaying of alerts.

class openlp.plugins.alerts.lib.alertsmanager.AlertsManager(parent)[source]

Bases: openlp.core.common.openlpmixin.OpenLPMixin, openlp.core.common.registrymixin.RegistryMixin, PyQt5.QtCore.QObject, openlp.core.common.registryproperties.RegistryProperties

AlertsManager manages the settings of Alerts.

alert_text(message)[source]

Called via a alerts_text event. Message is single element array containing text.

Parameters:message – The message text to be displayed
alerts_text
display_alert(text='')[source]

Called from the Alert Tab to display an alert.

Parameters:text – The text to display
generate_alert()[source]

Format and request the Alert and start the timer.

timerEvent(event)[source]

Time has finished so if our time then request the next Alert if there is one and reset the timer.

Parameters:event – the QT event that has been triggered.