editform

mod:openlp.core.ui.projector.editform module

Provides the functions for adding/editing entries in the projector database.

class openlp.core.ui.projector.editform.ProjectorEditForm(parent=None, projectordb=None)[source]

Bases: PyQt5.QtWidgets.QDialog, openlp.core.ui.projector.editform.Ui_ProjectorEditForm

Class to add or edit a projector entry in the database.

Fields that are editable:
ip = Column(String(100)) port = Column(String(8)) pin = Column(String(20)) name = Column(String(20)) location = Column(String(30)) notes = Column(String(200))
accept_me()[source]

Validate input before accepting input.

cancel_me()[source]

Cancel button clicked - just close.

editProjector
exec(projector=None)[source]
help_me()[source]

Show a help message about the input fields.

newProjector
class openlp.core.ui.projector.editform.Ui_ProjectorEditForm[source]

Bases: object

The Ui_ProjectorEditForm class defines the user interface for the ProjectorEditForm dialog.

retranslateUi(edit_projector_dialog)[source]
setupUi(edit_projector_dialog)[source]

Create the interface layout.