forked from openlp/openlp
Use note text as tooltip.
This commit is contained in:
parent
b03295584b
commit
01d42e0f11
@ -27,12 +27,13 @@
|
|||||||
"""
|
"""
|
||||||
The :mod:`advancedtab` provides an advanced settings facility.
|
The :mod:`advancedtab` provides an advanced settings facility.
|
||||||
"""
|
"""
|
||||||
|
from datetime import datetime, timedelta
|
||||||
|
|
||||||
from PyQt4 import QtCore, QtGui
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
from openlp.core.lib import SettingsTab, translate, build_icon, Receiver
|
from openlp.core.lib import SettingsTab, translate, build_icon, Receiver
|
||||||
from openlp.core.lib.ui import UiStrings
|
from openlp.core.lib.ui import UiStrings
|
||||||
from openlp.core.utils import get_images_filter
|
from openlp.core.utils import get_images_filter
|
||||||
from datetime import datetime, timedelta
|
|
||||||
|
|
||||||
class AdvancedTab(SettingsTab):
|
class AdvancedTab(SettingsTab):
|
||||||
"""
|
"""
|
||||||
@ -150,10 +151,6 @@ class AdvancedTab(SettingsTab):
|
|||||||
self.defaultServiceExample.setObjectName(u'defaultServiceExample')
|
self.defaultServiceExample.setObjectName(u'defaultServiceExample')
|
||||||
self.defaultServiceLayout.addRow(self.defaultServiceExampleLabel,
|
self.defaultServiceLayout.addRow(self.defaultServiceExampleLabel,
|
||||||
self.defaultServiceExample)
|
self.defaultServiceExample)
|
||||||
self.defaultServiceNote = QtGui.QLabel(self.defaultServiceGroupBox)
|
|
||||||
self.defaultServiceNote.setWordWrap(True)
|
|
||||||
self.defaultServiceNote.setObjectName(u'defaultServiceNote')
|
|
||||||
self.defaultServiceLayout.addRow(self.defaultServiceNote)
|
|
||||||
self.leftLayout.addWidget(self.defaultServiceGroupBox)
|
self.leftLayout.addWidget(self.defaultServiceGroupBox)
|
||||||
self.leftLayout.addStretch()
|
self.leftLayout.addStretch()
|
||||||
self.defaultImageGroupBox = QtGui.QGroupBox(self.rightColumn)
|
self.defaultImageGroupBox = QtGui.QGroupBox(self.rightColumn)
|
||||||
@ -273,15 +270,14 @@ class AdvancedTab(SettingsTab):
|
|||||||
'Time when usual service starts.'))
|
'Time when usual service starts.'))
|
||||||
self.defaultServiceLabel.setText(
|
self.defaultServiceLabel.setText(
|
||||||
translate('OpenLP.AdvancedTab', 'Name:'))
|
translate('OpenLP.AdvancedTab', 'Name:'))
|
||||||
|
self.defaultServiceName.setToolTip(translate('OpenLP.AdvancedTab',
|
||||||
|
'Consult the OpenLP manual for usage.'))
|
||||||
self.defaultServiceRevertButton.setToolTip(unicode(
|
self.defaultServiceRevertButton.setToolTip(unicode(
|
||||||
translate('OpenLP.AdvancedTab',
|
translate('OpenLP.AdvancedTab',
|
||||||
'Revert to the default service name "%s".')) %
|
'Revert to the default service name "%s".')) %
|
||||||
self.default_service_name)
|
self.default_service_name)
|
||||||
self.defaultServiceExampleLabel.setText(translate('OpenLP.AdvancedTab',
|
self.defaultServiceExampleLabel.setText(translate('OpenLP.AdvancedTab',
|
||||||
'Example:'))
|
'Example:'))
|
||||||
self.defaultServiceNote.setText(
|
|
||||||
translate('OpenLP.AdvancedTab', 'Note: '
|
|
||||||
'Consult the OpenLP manual for usage.'))
|
|
||||||
self.hideMouseGroupBox.setTitle(translate('OpenLP.AdvancedTab',
|
self.hideMouseGroupBox.setTitle(translate('OpenLP.AdvancedTab',
|
||||||
'Mouse Cursor'))
|
'Mouse Cursor'))
|
||||||
self.hideMouseCheckBox.setText(translate('OpenLP.AdvancedTab',
|
self.hideMouseCheckBox.setText(translate('OpenLP.AdvancedTab',
|
||||||
|
Loading…
Reference in New Issue
Block a user