~raoul-snyman/openlp/fix-macos-pdf-test

« back to all changes in this revision

Viewing changes to openlp/plugins/songs/forms/authorsdialog.py

  • Committer: Raoul Snyman
  • Date: 2019-02-14 07:04:30 UTC
  • mfrom: (2766.3.118 webengine-migrate)
  • Revision ID: raoul@snyman.info-20190214070430-nxe1vaeaapq3ult5
Migration from WebKit to Webengine. Also introduced reveal.js for slide rendering, new screen setup dialogs and many other changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    The :class:`~openlp.plugins.songs.forms.authorsdialog.Ui_AuthorsDialog` class defines the user interface for the
33
33
    AuthorsForm dialog.
34
34
    """
35
 
    def setupUi(self, authors_dialog):
 
35
    def setup_ui(self, authors_dialog):
36
36
        """
37
37
        Set up the UI for the dialog.
38
38
        """
65
65
        self.dialog_layout.addLayout(self.author_layout)
66
66
        self.button_box = create_button_box(authors_dialog, 'button_box', ['cancel', 'save'])
67
67
        self.dialog_layout.addWidget(self.button_box)
68
 
        self.retranslateUi(authors_dialog)
 
68
        self.retranslate_ui(authors_dialog)
69
69
        authors_dialog.setMaximumHeight(authors_dialog.sizeHint().height())
70
70
 
71
 
    def retranslateUi(self, authors_dialog):
 
71
    def retranslate_ui(self, authors_dialog):
72
72
        """
73
73
        Translate the UI on the fly.
74
74
        """