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

« back to all changes in this revision

Viewing changes to openlp/core/ui/printservicedialog.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:
22
22
"""
23
23
The UI widgets of the print service dialog.
24
24
"""
25
 
from PyQt5 import QtCore, QtWidgets, QtPrintSupport
 
25
from PyQt5 import QtCore, QtPrintSupport, QtWidgets
26
26
 
27
27
from openlp.core.common.i18n import UiStrings, translate
28
28
from openlp.core.ui.icons import UiIcons
45
45
    """
46
46
    The UI of the print service dialog
47
47
    """
48
 
    def setupUi(self, print_service_dialog):
 
48
    def setup_ui(self, print_service_dialog):
49
49
        """
50
50
        Set up the UI
51
51
        """
127
127
        self.options_group_box.setLayout(self.group_layout)
128
128
        self.options_layout.addWidget(self.options_group_box)
129
129
 
130
 
        self.retranslateUi(print_service_dialog)
 
130
        self.retranslate_ui(print_service_dialog)
131
131
        self.options_button.toggled.connect(self.toggle_options)
132
132
 
133
 
    def retranslateUi(self, print_service_dialog):
 
133
    def retranslate_ui(self, print_service_dialog):
134
134
        """
135
135
        Translate the UI on the fly
136
136
        """