alertsplugin

class openlp.plugins.alerts.alertsplugin.AlertsPlugin[source]

Bases: openlp.core.lib.plugin.Plugin

The Alerts Plugin Class

static about()[source]

Plugin Alerts about method

Returns:text
add_tools_menu_item(tools_menu)[source]

Give the alerts plugin the opportunity to add items to the Tools menu.

Parameters:tools_menu – The actual Tools menu item, so that your actions can use it as their parent.
finalise()[source]

Tidy up on exit

get_display_css()[source]

Add CSS to the main display.

static get_display_html()[source]

Add HTML to the main display.

static get_display_javascript()[source]

Add Javascript to the main display.

initialise()[source]

Initialise plugin

on_alerts_trigger()[source]

Start of the Alerts dialog triggered from the main menu.

refresh_css(frame)[source]

Trigger an update of the CSS in the main display.

Parameters:frame – The Web frame holding the page.
set_plugin_text_strings()[source]

Called to define all translatable texts of the plugin

toggle_alerts_state()[source]

Switch the alerts state