bibleplugin

class openlp.plugins.bibles.bibleplugin.BiblePlugin[source]

Bases: openlp.core.lib.plugin.Plugin

The Bible plugin provides a plugin for managing and displaying Bibles.

static about()[source]

Return the about text for the plugin manager

add_export_menu_item(export_menu)[source]

Add an export menu item

Parameters:export_menu – The menu to insert the menu item into.
add_import_menu_item(import_menu)[source]

Add an import menu item

Parameters:import_menu – The menu to insert the menu item into.
finalise()[source]

Tidy up on exit

initialise()[source]

Initialise the Bible plugin.

on_bible_import_click()[source]

Show the Bible Import wizard

rename_theme(old_theme, new_theme)[source]

Rename the theme the bible plugin is using, making the plugin use the new name.

Parameters:
  • old_theme – The name of the theme the plugin should stop using. Unused for this particular plugin.
  • new_theme – The new name the plugin should now use.
Returns:

None

set_plugin_text_strings()[source]

Called to define all translatable texts of the plugin

uses_theme(theme)[source]

Called to find out if the bible plugin is currently using a theme.

Parameters:theme – The theme
Returns:1 if the theme is being used, otherwise returns 0