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 = QtGui.QPainter()
|
||||||
painter.begin(self._frameOp)
|
painter.begin(self._frameOp)
|
||||||
painter.setRenderHint(QtGui.QPainter.Antialiasing);
|
painter.setRenderHint(QtGui.QPainter.Antialiasing);
|
||||||
painter.setOpacity(0.5)
|
painter.setOpacity(0.7)
|
||||||
painter.setFont(font)
|
painter.setFont(font)
|
||||||
if color is None:
|
if color is None:
|
||||||
if footer:
|
if footer:
|
||||||
|
@ -556,7 +556,7 @@ class SlideController(QtGui.QWidget):
|
|||||||
"""
|
"""
|
||||||
Go to the next slide.
|
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())
|
Receiver.send_message(u'%s_next'% self.serviceItem.name.lower())
|
||||||
self.updatePreview()
|
self.updatePreview()
|
||||||
else:
|
else:
|
||||||
@ -570,7 +570,7 @@ class SlideController(QtGui.QWidget):
|
|||||||
"""
|
"""
|
||||||
Go to the previous slide.
|
Go to the previous slide.
|
||||||
"""
|
"""
|
||||||
if self.serviceItem and self.serviceItem.is_command():
|
if self.serviceItem.is_command():
|
||||||
Receiver.send_message(
|
Receiver.send_message(
|
||||||
u'%s_previous'% self.serviceItem.name.lower())
|
u'%s_previous'% self.serviceItem.name.lower())
|
||||||
self.updatePreview()
|
self.updatePreview()
|
||||||
@ -585,7 +585,7 @@ class SlideController(QtGui.QWidget):
|
|||||||
"""
|
"""
|
||||||
Go to the last slide.
|
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())
|
Receiver.send_message(u'%s_last'% self.serviceItem.name.lower())
|
||||||
self.updatePreview()
|
self.updatePreview()
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user