authorsform¶
Bases:
PyQt5.QtWidgets.QDialog
,openlp.plugins.songs.forms.authorsdialog.Ui_AuthorsDialog
Class to control the Maintenance of Authors Dialog
Override the QDialog’s accept() method to do some validation before the dialog can be closed.
Execute the dialog.
Parameters: clear – Clear the form fields before displaying the dialog.
Get the value of the first name from the UI widget.
Get the value of the last name from the UI widget.
Slot for when the first name is edited.
When the first name is edited and the setting to automatically create a display name is True, then try to create a display name from the first and last names.
Parameters: display_name – The text from the first_name_edit widget.
Slot for when the last name is edited.
When the last name is edited and the setting to automatically create a display name is True, then try to create a display name from the first and last names.
Parameters: display_name – The text from the last_name_edit widget.