mirror of https://gitlab.com/openlp/openlp.git
removed white spaces
This commit is contained in:
parent
628a5bd755
commit
608dbd2537
|
@ -85,7 +85,7 @@ class PluginForm(QtGui.QDialog, Ui_PluginViewDialog):
|
||||||
item.setIcon(plugin.icon)
|
item.setIcon(plugin.icon)
|
||||||
self.pluginListWidget.addItem(item)
|
self.pluginListWidget.addItem(item)
|
||||||
pluginListWidth = max(pluginListWidth, self.fontMetrics().width(
|
pluginListWidth = max(pluginListWidth, self.fontMetrics().width(
|
||||||
unicode(translate('OpenLP.PluginForm', '%s (Inactive)')) %
|
unicode(translate('OpenLP.PluginForm', '%s (Inactive)')) %
|
||||||
name_string[u'singular']))
|
name_string[u'singular']))
|
||||||
self.pluginListWidget.setFixedWidth(pluginListWidth +
|
self.pluginListWidget.setFixedWidth(pluginListWidth +
|
||||||
self.pluginListWidget.iconSize().width() + 48)
|
self.pluginListWidget.iconSize().width() + 48)
|
||||||
|
|
|
@ -95,7 +95,7 @@ class OpenLPWizard(QtGui.QWizard):
|
||||||
|
|
||||||
def addProgressPage(self):
|
def addProgressPage(self):
|
||||||
"""
|
"""
|
||||||
Add the progress page for the wizard. This page informs the user how
|
Add the progress page for the wizard. This page informs the user how
|
||||||
the wizard is progressing with its task.
|
the wizard is progressing with its task.
|
||||||
"""
|
"""
|
||||||
self.progressPage = QtGui.QWizardPage()
|
self.progressPage = QtGui.QWizardPage()
|
||||||
|
@ -125,7 +125,7 @@ class OpenLPWizard(QtGui.QWizard):
|
||||||
log.debug(u'Wizard cancelled by user.')
|
log.debug(u'Wizard cancelled by user.')
|
||||||
if self.currentPage() == self.progressPage:
|
if self.currentPage() == self.progressPage:
|
||||||
Receiver.send_message(u'openlp_stop_wizard')
|
Receiver.send_message(u'openlp_stop_wizard')
|
||||||
self.done(QtGui.QDialog.Rejected)
|
self.done(QtGui.QDialog.Rejected)
|
||||||
|
|
||||||
def onCurrentIdChanged(self, pageId):
|
def onCurrentIdChanged(self, pageId):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -322,7 +322,7 @@ class SongImportForm(OpenLPWizard):
|
||||||
QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
||||||
self.openLP1FormLabelSpacer.changeSize(width, 0,
|
self.openLP1FormLabelSpacer.changeSize(width, 0,
|
||||||
QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
||||||
self.easiSlidesFormLabelSpacer.changeSize(width, 0,
|
self.easiSlidesFormLabelSpacer.changeSize(width, 0,
|
||||||
QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
|
||||||
self.ewFormLabelSpacer.changeSize(width, 0, QtGui.QSizePolicy.Fixed,
|
self.ewFormLabelSpacer.changeSize(width, 0, QtGui.QSizePolicy.Fixed,
|
||||||
QtGui.QSizePolicy.Fixed)
|
QtGui.QSizePolicy.Fixed)
|
||||||
|
@ -654,7 +654,7 @@ class SongImportForm(OpenLPWizard):
|
||||||
'Select EasiSlides songfile'),
|
'Select EasiSlides songfile'),
|
||||||
self.easiSlidesFilenameEdit
|
self.easiSlidesFilenameEdit
|
||||||
)
|
)
|
||||||
|
|
||||||
def onEWBrowseButtonClicked(self):
|
def onEWBrowseButtonClicked(self):
|
||||||
"""
|
"""
|
||||||
Get EasyWorship song database files
|
Get EasyWorship song database files
|
||||||
|
|
|
@ -39,7 +39,7 @@ class EasiSlidesImport(SongImport):
|
||||||
"""
|
"""
|
||||||
Import songs exported from EasiSlides
|
Import songs exported from EasiSlides
|
||||||
|
|
||||||
The format example is here:
|
The format example is here:
|
||||||
http://wiki.openlp.org/Development:EasiSlides_-_Song_Data_Format
|
http://wiki.openlp.org/Development:EasiSlides_-_Song_Data_Format
|
||||||
"""
|
"""
|
||||||
def __init__(self, manager, **kwargs):
|
def __init__(self, manager, **kwargs):
|
||||||
|
@ -71,7 +71,7 @@ class EasiSlidesImport(SongImport):
|
||||||
for song in song_xml.Item:
|
for song in song_xml.Item:
|
||||||
self.import_wizard.incrementProgressBar(
|
self.import_wizard.incrementProgressBar(
|
||||||
unicode(translate('SongsPlugin.ImportWizardForm',
|
unicode(translate('SongsPlugin.ImportWizardForm',
|
||||||
u'Importing %s, song %s...')) %
|
u'Importing %s, song %s...')) %
|
||||||
(os.path.split(self.filename)[-1], song.Title1))
|
(os.path.split(self.filename)[-1], song.Title1))
|
||||||
success = self._parse_song(song)
|
success = self._parse_song(song)
|
||||||
if not success or self.stop_import_flag:
|
if not success or self.stop_import_flag:
|
||||||
|
@ -313,7 +313,7 @@ class EasiSlidesImport(SongImport):
|
||||||
tag = SeqTypes[tag.lower()]
|
tag = SeqTypes[tag.lower()]
|
||||||
else:
|
else:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if tag in versetags:
|
if tag in versetags:
|
||||||
self.verse_order_list.append(tag)
|
self.verse_order_list.append(tag)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue