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

« back to all changes in this revision

Viewing changes to openlp/core/ui/advancedtab.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
from openlp.core.common.i18n import UiStrings, format_time, translate
33
33
from openlp.core.common.settings import Settings
34
34
from openlp.core.lib.settingstab import SettingsTab
 
35
from openlp.core.ui.icons import UiIcons
35
36
from openlp.core.ui.style import HAS_DARK_STYLE
36
 
from openlp.core.ui.icons import UiIcons
37
37
from openlp.core.widgets.edits import PathEdit
38
38
from openlp.core.widgets.enums import PathEditType
39
39
from openlp.core.widgets.widgets import ProxyWidget
40
40
 
 
41
 
41
42
log = logging.getLogger(__name__)
42
43
 
43
44
 
59
60
        advanced_translated = translate('OpenLP.AdvancedTab', 'Advanced')
60
61
        super(AdvancedTab, self).__init__(parent, 'Advanced', advanced_translated)
61
62
 
62
 
    def setupUi(self):
 
63
    def setup_ui(self):
63
64
        """
64
65
        Configure the UI elements for the tab.
65
66
        """
66
67
        self.setObjectName('AdvancedTab')
67
 
        super(AdvancedTab, self).setupUi()
 
68
        super(AdvancedTab, self).setup_ui()
68
69
        self.ui_group_box = QtWidgets.QGroupBox(self.left_column)
69
70
        self.ui_group_box.setObjectName('ui_group_box')
70
71
        self.ui_layout = QtWidgets.QFormLayout(self.ui_group_box)
241
242
        self.next_item_radio_button.clicked.connect(self.on_next_item_button_clicked)
242
243
        self.search_as_type_check_box.stateChanged.connect(self.on_search_as_type_check_box_changed)
243
244
 
244
 
    def retranslateUi(self):
 
245
    def retranslate_ui(self):
245
246
        """
246
247
        Setup the interface translation strings.
247
248
        """