settingstab

The settingstab module contains the base SettingsTab class which plugins use for adding their own tab to the settings dialog.

class openlp.core.lib.settingstab.SettingsTab(parent, title, visible_title=None, icon_path=None)[source]

Bases: PyQt5.QtWidgets.QWidget, openlp.core.common.registryproperties.RegistryProperties

SettingsTab is a helper widget for plugins to define Tabs for the settings dialog.

cancel()[source]

Reset any settings if cancel triggered

initialise()[source]

Do any extra initialisation here.

load()[source]

Load settings from disk.

post_set_up(post_update=False)[source]

Changes which need to be made after setup of application

Parameters:post_update – Indicates if called before or after updates.
resizeEvent(event=None)[source]

Resize the sides in two equal halves if the layout allows this.

retranslateUi()[source]

Setup the interface translation strings.

save()[source]

Save settings to disk.

setupUi()[source]

Setup the tab’s interface.

tab_visible()[source]

Tab has just been made visible to the user