From dbf77e2fb455b8c591964a4f0f4c4a7e2a0c453d Mon Sep 17 00:00:00 2001 From: rimach Date: Mon, 17 Oct 2011 23:35:44 +0200 Subject: [PATCH] bugfixing --- openlp/core/ui/media/mediacontroller.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/media/mediacontroller.py b/openlp/core/ui/media/mediacontroller.py index 833c798ef..b3b95fff5 100644 --- a/openlp/core/ui/media/mediacontroller.py +++ b/openlp/core/ui/media/mediacontroller.py @@ -191,16 +191,20 @@ class MediaController(object): # Build the seekSlider. controller.seekSlider = QtGui.QSlider(QtCore.Qt.Horizontal) controller.seekSlider.setMaximum(1000) + controller.seekSlider.setToolTip(translate( + 'OpenLP.SlideController', 'Video position.')) + controller.seekSlider.setGeometry(QtCore.QRect(90, 260, 221, 24)) + controller.seekSlider.setObjectName(u'seekSlider') + controller.mediabar.addToolbarWidget(u'Seek Slider', controller.seekSlider) # Build the volumeSlider. controller.volumeSlider = QtGui.QSlider(QtCore.Qt.Horizontal) controller.volumeSlider.setTickInterval(10) controller.volumeSlider.setTickPosition(QtGui.QSlider.TicksAbove) controller.volumeSlider.setMinimum(0) controller.volumeSlider.setMaximum(100) + controller.volumeSlider.setToolTip(translate( + 'OpenLP.SlideController', 'Audio Volume.')) controller.volumeSlider.setValue(controller.media_info.volume) - controller.seekSlider.setGeometry(QtCore.QRect(90, 260, 221, 24)) - controller.seekSlider.setObjectName(u'seekSlider') - controller.mediabar.addToolbarWidget(u'Seek Slider', controller.seekSlider) controller.volumeSlider.setGeometry(QtCore.QRect(90, 160, 221, 24)) controller.volumeSlider.setObjectName(u'volumeSlider') controller.mediabar.addToolbarWidget(u'Audio Volume', controller.volumeSlider)