~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to openlp/core/lib/settingstab.py

  • Committer: Tomas Groth
  • Date: 2019-04-30 19:02:42 UTC
  • mfrom: (2829.2.32 openlp)
  • Revision ID: tomasgroth@yahoo.dk-20190430190242-6zwjk8724tyux70m
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  #
54
54
        """
55
55
        Run some initial setup. This method is separate from __init__ in order to mock it out in tests.
56
56
        """
57
 
        self.setupUi()
58
 
        self.retranslateUi()
 
57
        self.setup_ui()
 
58
        self.retranslate_ui()
59
59
        self.initialise()
60
60
        self.load()
61
61
 
62
 
    def setupUi(self):
 
62
    def setup_ui(self):
63
63
        """
64
64
        Setup the tab's interface.
65
65
        """
90
90
        left_width = max(left_width, self.left_column.minimumSizeHint().width())
91
91
        self.left_column.setFixedWidth(left_width)
92
92
 
93
 
    def retranslateUi(self):
 
93
    def retranslate_ui(self):
94
94
        """
95
95
        Setup the interface translation strings.
96
96
        """