forked from openlp/openlp
recover v1.x theme file names from XML info
bzr-revno: 1847
This commit is contained in:
commit
e974df4c54
@ -219,6 +219,7 @@ class MediaController(object):
|
|||||||
# Build the seekSlider.
|
# Build the seekSlider.
|
||||||
controller.seekSlider = QtGui.QSlider(QtCore.Qt.Horizontal)
|
controller.seekSlider = QtGui.QSlider(QtCore.Qt.Horizontal)
|
||||||
controller.seekSlider.setMaximum(1000)
|
controller.seekSlider.setMaximum(1000)
|
||||||
|
controller.seekSlider.setTracking(False)
|
||||||
controller.seekSlider.setToolTip(translate(
|
controller.seekSlider.setToolTip(translate(
|
||||||
'OpenLP.SlideController', 'Video position.'))
|
'OpenLP.SlideController', 'Video position.'))
|
||||||
controller.seekSlider.setGeometry(QtCore.QRect(90, 260, 221, 24))
|
controller.seekSlider.setGeometry(QtCore.QRect(90, 260, 221, 24))
|
||||||
@ -231,6 +232,7 @@ class MediaController(object):
|
|||||||
controller.volumeSlider.setTickPosition(QtGui.QSlider.TicksAbove)
|
controller.volumeSlider.setTickPosition(QtGui.QSlider.TicksAbove)
|
||||||
controller.volumeSlider.setMinimum(0)
|
controller.volumeSlider.setMinimum(0)
|
||||||
controller.volumeSlider.setMaximum(100)
|
controller.volumeSlider.setMaximum(100)
|
||||||
|
controller.volumeSlider.setTracking(True)
|
||||||
controller.volumeSlider.setToolTip(translate(
|
controller.volumeSlider.setToolTip(translate(
|
||||||
'OpenLP.SlideController', 'Audio Volume.'))
|
'OpenLP.SlideController', 'Audio Volume.'))
|
||||||
controller.volumeSlider.setValue(controller.media_info.volume)
|
controller.volumeSlider.setValue(controller.media_info.volume)
|
||||||
@ -242,9 +244,9 @@ class MediaController(object):
|
|||||||
controller.mediabar.setVisible(False)
|
controller.mediabar.setVisible(False)
|
||||||
# Signals
|
# Signals
|
||||||
QtCore.QObject.connect(controller.seekSlider,
|
QtCore.QObject.connect(controller.seekSlider,
|
||||||
QtCore.SIGNAL(u'sliderMoved(int)'), controller.sendToPlugins)
|
QtCore.SIGNAL(u'valueChanged(int)'), controller.sendToPlugins)
|
||||||
QtCore.QObject.connect(controller.volumeSlider,
|
QtCore.QObject.connect(controller.volumeSlider,
|
||||||
QtCore.SIGNAL(u'sliderMoved(int)'), controller.sendToPlugins)
|
QtCore.SIGNAL(u'valueChanged(int)'), controller.sendToPlugins)
|
||||||
|
|
||||||
def setup_special_controls(self, controller, control_panel):
|
def setup_special_controls(self, controller, control_panel):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user