forked from openlp/openlp
fix order and comment
This commit is contained in:
parent
31ee1b43a6
commit
5e6f97d74e
|
@ -95,7 +95,7 @@ class RegistryProperties(object):
|
||||||
|
|
||||||
def _get_preview_controller(self):
|
def _get_preview_controller(self):
|
||||||
"""
|
"""
|
||||||
Adds the live controller to the class dynamically
|
Adds the preview controller to the class dynamically
|
||||||
"""
|
"""
|
||||||
if not hasattr(self, '_preview_controller') or not self._preview_controller:
|
if not hasattr(self, '_preview_controller') or not self._preview_controller:
|
||||||
self._preview_controller = Registry().get('preview_controller')
|
self._preview_controller = Registry().get('preview_controller')
|
||||||
|
|
|
@ -460,7 +460,7 @@ class Ui_MainWindow(object):
|
||||||
self.mode_live_item.setStatusTip(translate('OpenLP.MainWindow', 'Set the view mode to Live.'))
|
self.mode_live_item.setStatusTip(translate('OpenLP.MainWindow', 'Set the view mode to Live.'))
|
||||||
|
|
||||||
|
|
||||||
class MainWindow(RegistryProperties, QtGui.QMainWindow, Ui_MainWindow):
|
class MainWindow(QtGui.QMainWindow, Ui_MainWindow, RegistryProperties):
|
||||||
"""
|
"""
|
||||||
The main window.
|
The main window.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -102,7 +102,7 @@ class DisplayController(QtGui.QWidget):
|
||||||
Registry().execute('%s' % sender, [controller, args])
|
Registry().execute('%s' % sender, [controller, args])
|
||||||
|
|
||||||
|
|
||||||
class SlideController(RegistryProperties, DisplayController):
|
class SlideController(DisplayController, RegistryProperties):
|
||||||
"""
|
"""
|
||||||
SlideController is the slide controller widget. This widget is what the
|
SlideController is the slide controller widget. This widget is what the
|
||||||
user uses to control the displaying of verses/slides/etc on the screen.
|
user uses to control the displaying of verses/slides/etc on the screen.
|
||||||
|
|
Loading…
Reference in New Issue