settingsform

The settingsform provides a user interface for the OpenLP settings

class openlp.core.ui.settingsform.SettingsForm(parent=None)[source]

Bases: PyQt5.QtWidgets.QDialog, openlp.core.ui.settingsdialog.Ui_SettingsDialog, openlp.core.common.registryproperties.RegistryProperties

Provide the form to manipulate the settings for OpenLP

accept()[source]

Process the form saving the settings

bootstrap_post_set_up()[source]

Run any post-setup code for the tabs on the form

exec()[source]

Execute the form

insert_tab(tab_widget, is_visible=True)[source]

Add a tab to the form at a specific location

Parameters:
  • tab_widget – The widget to add
  • is_visible – If this tab should be visible
list_item_changed(item_index)[source]

A different settings tab is selected

Parameters:item_index – The index of the item that was selected
register_post_process(function)[source]

Register for updates to be done on save removing duplicate functions

Parameters:function – The function to be called
reject()[source]

Process the form saving the settings