~tomasgroth/openlp/remote-sync

« back to all changes in this revision

Viewing changes to openlp/plugins/presentations/lib/presentationtab.py

  • Committer: Tomas Groth
  • Date: 2019-02-14 20:36:25 UTC
  • mfrom: (2733.1.112 openlp)
  • Revision ID: tomasgroth@yahoo.dk-20190214203625-vwiq7mxob8p9qnt8
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
###############################################################################
5
5
# OpenLP - Open Source Lyrics Projection                                      #
6
6
# --------------------------------------------------------------------------- #
7
 
# Copyright (c) 2008-2018 OpenLP Developers                                   #
 
7
# Copyright (c) 2008-2019 OpenLP Developers                                   #
8
8
# --------------------------------------------------------------------------- #
9
9
# This program is free software; you can redistribute it and/or modify it     #
10
10
# under the terms of the GNU General Public License as published by the Free  #
24
24
 
25
25
from openlp.core.common.i18n import UiStrings, translate
26
26
from openlp.core.common.settings import Settings
27
 
from openlp.core.lib import SettingsTab
 
27
from openlp.core.lib.settingstab import SettingsTab
28
28
from openlp.core.lib.ui import critical_error_message_box
29
29
from openlp.core.widgets.edits import PathEdit
30
30
from openlp.plugins.presentations.lib.pdfcontroller import PdfController
42
42
        super(PresentationTab, self).__init__(parent, title, visible_title, icon_path)
43
43
        self.activated = False
44
44
 
45
 
    def setupUi(self):
 
45
    def setup_ui(self):
46
46
        """
47
47
        Create the controls for the settings tab
48
48
        """
49
49
        self.setObjectName('PresentationTab')
50
 
        super(PresentationTab, self).setupUi()
 
50
        super(PresentationTab, self).setup_ui()
51
51
        self.controllers_group_box = QtWidgets.QGroupBox(self.left_column)
52
52
        self.controllers_group_box.setObjectName('controllers_group_box')
53
53
        self.controllers_layout = QtWidgets.QVBoxLayout(self.controllers_group_box)
99
99
        self.program_path_edit.pathChanged.connect(self.on_program_path_edit_path_changed)
100
100
        self.pdf_program_check_box.clicked.connect(self.program_path_edit.setEnabled)
101
101
 
102
 
    def retranslateUi(self):
 
102
    def retranslate_ui(self):
103
103
        """
104
104
        Make any translation changes
105
105
        """