~tomasgroth/openlp/portable-path

« back to all changes in this revision

Viewing changes to openlp/core/ui/shortcutlistdialog.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  #
67
67
    """
68
68
    The UI widgets for the shortcut dialog.
69
69
    """
70
 
    def setupUi(self, shortcutListDialog):
 
70
    def setup_ui(self, shortcutListDialog):
71
71
        """
72
72
        Set up the UI
73
73
        """
130
130
        self.button_box = create_button_box(shortcutListDialog, 'button_box', ['cancel', 'ok', 'defaults'])
131
131
        self.button_box.setOrientation(QtCore.Qt.Horizontal)
132
132
        self.shortcut_list_layout.addWidget(self.button_box)
133
 
        self.retranslateUi(shortcutListDialog)
 
133
        self.retranslate_ui(shortcutListDialog)
134
134
 
135
 
    def retranslateUi(self, shortcutListDialog):
 
135
    def retranslate_ui(self, shortcutListDialog):
136
136
        """
137
137
        Translate the UI on the fly
138
138
        """