forked from openlp/openlp
Fix problem with slide controller
soften the renderer transition
This commit is contained in:
parent
6380cc5126
commit
9f80c5a742
@ -577,7 +577,7 @@ class Renderer(object):
|
||||
painter = QtGui.QPainter()
|
||||
painter.begin(self._frameOp)
|
||||
painter.setRenderHint(QtGui.QPainter.Antialiasing);
|
||||
painter.setOpacity(0.5)
|
||||
painter.setOpacity(0.7)
|
||||
painter.setFont(font)
|
||||
if color is None:
|
||||
if footer:
|
||||
|
@ -556,7 +556,7 @@ class SlideController(QtGui.QWidget):
|
||||
"""
|
||||
Go to the next slide.
|
||||
"""
|
||||
if self.serviceItem and self.serviceItem.is_command():
|
||||
if self.serviceItem.is_command():
|
||||
Receiver.send_message(u'%s_next'% self.serviceItem.name.lower())
|
||||
self.updatePreview()
|
||||
else:
|
||||
@ -570,7 +570,7 @@ class SlideController(QtGui.QWidget):
|
||||
"""
|
||||
Go to the previous slide.
|
||||
"""
|
||||
if self.serviceItem and self.serviceItem.is_command():
|
||||
if self.serviceItem.is_command():
|
||||
Receiver.send_message(
|
||||
u'%s_previous'% self.serviceItem.name.lower())
|
||||
self.updatePreview()
|
||||
@ -585,7 +585,7 @@ class SlideController(QtGui.QWidget):
|
||||
"""
|
||||
Go to the last slide.
|
||||
"""
|
||||
if self.serviceItem and self.serviceItem.is_command():
|
||||
if self.serviceItem.is_command():
|
||||
Receiver.send_message(u'%s_last'% self.serviceItem.name.lower())
|
||||
self.updatePreview()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user