printserviceform

The actual print service dialog

class openlp.core.ui.printserviceform.PrintServiceForm[source]

Bases: PyQt5.QtWidgets.QDialog, openlp.core.ui.printservicedialog.Ui_PrintServiceDialog, openlp.core.common.registryproperties.RegistryProperties

The PrintServiceForm class displays a dialog for printing the service.

copy_html_text()[source]

Copies the display text to the clipboard as Html

copy_text()[source]

Copies the display text to the clipboard as plain text

display_size_changed(display)[source]

The Zoom Combo box has changed so set up the size.

on_slide_text_check_box_changed(state)[source]

Disable or enable the page_break_after_text checkbox as it should only be enabled, when the slide_text_check_box is enabled.

paint_requested(printer)[source]

Paint the preview of the self.document.

printer
A QPrinter object.
print_service_order()[source]

Called, when the print_button is clicked. Opens the print_dialog.

save_options()[source]

Save the settings and close the dialog.

toggle_options(checked)[source]

Toggle various options

update_preview_text()[source]

Creates the html text and updates the html of self.document.

update_song_usage()[source]

Update the song usage

update_text_format(value)[source]

Called when html copy check box is selected.

zoom_in()[source]

Called when zoom_in_button is clicked.

zoom_original()[source]

Called when zoom_out_button is clicked.

zoom_out()[source]

Called when zoom_out_button is clicked.