songexportform module provides the wizard for exporting songs to the
This is the Song Export Wizard, which allows easy exporting of Songs to the OpenLyrics format.
Add song wizard specific pages.
Song wizard specific signals.
The check_button has been clicked. Set all visible songs checked.
Called when the directory_button was clicked. Opens a dialog and writes the path to directory_line_edit.
The search_line_edit’s text has been changed. Update the list of available songs. Note that any song, which does not match the
textwill be hidden, but not unchecked!
Parameters: text – The text of the search_line_edit.
The uncheck_button has been clicked. Set all visible songs unchecked.
Perform the actual export. This creates an openlyricsexport instance and calls the do_export method.
Perform pre export tasks.
Song wizard localisation.
Set default form values for the song export wizard.
Set up the song wizard UI.
Sets the flag for the exporter to stop the export.
Validate the current page before moving on to the next page.
Returns a list of *QListWidgetItem*s of the
list_widget. Note, that hidden items are included.
- list_widget – The widget to get all items from. (QListWidget)
- text – The text to search for. (unicode string)
Called, when an item in the available_list_widget has been triggered. The item is check if it was not checked, whereas it is unchecked when it was checked.
Parameters: item – The QListWidgetItem which was triggered.