forked from openlp/openlp
r1463
This commit is contained in:
commit
e1bc312eb1
@ -88,7 +88,6 @@ class UiStrings(object):
|
|||||||
OpenService = translate('OpenLP.Ui', 'Open Service')
|
OpenService = translate('OpenLP.Ui', 'Open Service')
|
||||||
Preview = translate('OpenLP.Ui', 'Preview')
|
Preview = translate('OpenLP.Ui', 'Preview')
|
||||||
PreviewPanel = translate('OpenLP.Ui', 'Preview Panel')
|
PreviewPanel = translate('OpenLP.Ui', 'Preview Panel')
|
||||||
PreviewToolbar = translate('OpenLP.Ui', 'Preview Toolbar')
|
|
||||||
PrintServiceOrder = translate('OpenLP.Ui', 'Print Service Order')
|
PrintServiceOrder = translate('OpenLP.Ui', 'Print Service Order')
|
||||||
ReplaceBG = translate('OpenLP.Ui', 'Replace Background')
|
ReplaceBG = translate('OpenLP.Ui', 'Replace Background')
|
||||||
ReplaceLiveBG = translate('OpenLP.Ui', 'Replace Live Background')
|
ReplaceLiveBG = translate('OpenLP.Ui', 'Replace Live Background')
|
||||||
|
@ -368,10 +368,8 @@ class SlideController(QtGui.QWidget):
|
|||||||
self.previousItem.setObjectName(u'previousItemPreview')
|
self.previousItem.setObjectName(u'previousItemPreview')
|
||||||
self.nextItem.setObjectName(u'nextItemPreview')
|
self.nextItem.setObjectName(u'nextItemPreview')
|
||||||
action_list = ActionList.get_instance()
|
action_list = ActionList.get_instance()
|
||||||
action_list.add_category(
|
action_list.add_action(self.previousItem)
|
||||||
UiStrings.PreviewToolbar, CategoryOrder.standardToolbar)
|
action_list.add_action(self.nextItem)
|
||||||
action_list.add_action(self.previousItem, UiStrings.PreviewToolbar)
|
|
||||||
action_list.add_action(self.nextItem, UiStrings.PreviewToolbar)
|
|
||||||
|
|
||||||
def setLiveHotkeys(self, parent=None):
|
def setLiveHotkeys(self, parent=None):
|
||||||
self.previousItem.setObjectName(u'previousItemLive')
|
self.previousItem.setObjectName(u'previousItemLive')
|
||||||
@ -379,8 +377,8 @@ class SlideController(QtGui.QWidget):
|
|||||||
action_list = ActionList.get_instance()
|
action_list = ActionList.get_instance()
|
||||||
action_list.add_category(
|
action_list.add_category(
|
||||||
UiStrings.LiveToolbar, CategoryOrder.standardToolbar)
|
UiStrings.LiveToolbar, CategoryOrder.standardToolbar)
|
||||||
action_list.add_action(self.previousItem, UiStrings.LiveToolbar)
|
action_list.add_action(self.previousItem)
|
||||||
action_list.add_action(self.nextItem, UiStrings.LiveToolbar)
|
action_list.add_action(self.nextItem)
|
||||||
self.previousService = shortcut_action(parent, u'previousService',
|
self.previousService = shortcut_action(parent, u'previousService',
|
||||||
[QtCore.Qt.Key_Left], self.servicePrevious, UiStrings.LiveToolbar)
|
[QtCore.Qt.Key_Left], self.servicePrevious, UiStrings.LiveToolbar)
|
||||||
self.previousService.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
|
self.previousService.setShortcutContext(QtCore.Qt.WidgetWithChildrenShortcut)
|
||||||
|
Loading…
Reference in New Issue
Block a user