forked from openlp/openlp
Head
This commit is contained in:
commit
f02825e00d
@ -131,6 +131,7 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
It provides a default set and the plugin is able to override
|
||||
the if required.
|
||||
"""
|
||||
self.hasImportIcon = False
|
||||
self.hasNewIcon = True
|
||||
self.hasEditIcon = True
|
||||
self.hasFileIcon = False
|
||||
@ -207,48 +208,54 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
|
||||
def addMiddleHeaderBar(self):
|
||||
# Create buttons for the toolbar
|
||||
## Import Button ##
|
||||
if self.hasImportIcon:
|
||||
self.addToolbarButton(
|
||||
u'Import %s' % self.PluginNameShort,
|
||||
u'%s %s' % (self.trUtf8('Import a'), self.PluginNameVisible),
|
||||
u':/general/general_import.png', self.onImportClick)
|
||||
## File Button ##
|
||||
if self.hasFileIcon:
|
||||
self.addToolbarButton(
|
||||
u'Load %s' % self.PluginNameShort,
|
||||
u'%s %s' % (self.trUtf8('Load a new'), self.PluginNameVisible),
|
||||
u':/%s_load.png' % self.IconPath, self.onFileClick)
|
||||
u':/general/general_open.png', self.onFileClick)
|
||||
## New Button ##
|
||||
if self.hasNewIcon:
|
||||
self.addToolbarButton(
|
||||
u'New %s' % self.PluginNameShort,
|
||||
u'%s %s' % (self.trUtf8('Add a new'), self.PluginNameVisible),
|
||||
u':/%s_new.png' % self.IconPath, self.onNewClick)
|
||||
u':/general/general_new.png', self.onNewClick)
|
||||
## Edit Button ##
|
||||
if self.hasEditIcon:
|
||||
self.addToolbarButton(
|
||||
u'Edit %s' % self.PluginNameShort,
|
||||
u'%s %s' % (self.trUtf8('Edit the selected'),
|
||||
self.PluginNameVisible),
|
||||
u':/%s_edit.png' % self.IconPath, self.onEditClick)
|
||||
u':/general/general_edit.png', self.onEditClick)
|
||||
## Delete Button ##
|
||||
if self.hasDeleteIcon:
|
||||
self.addToolbarButton(
|
||||
u'Delete %s' % self.PluginNameShort,
|
||||
self.trUtf8('Delete the selected item'),
|
||||
u':/%s_delete.png' % self.IconPath, self.onDeleteClick)
|
||||
u':/general/general_delete.png', self.onDeleteClick)
|
||||
## Separator Line ##
|
||||
self.addToolbarSeparator()
|
||||
## Preview ##
|
||||
self.addToolbarButton(
|
||||
u'Preview %s' % self.PluginNameShort,
|
||||
self.trUtf8('Preview the selected item'),
|
||||
u':/system/system_preview.png', self.onPreviewClick)
|
||||
u':/general/general_preview.png', self.onPreviewClick)
|
||||
## Live Button ##
|
||||
self.addToolbarButton(
|
||||
u'Go Live',
|
||||
self.trUtf8('Send the selected item live'),
|
||||
u':/system/system_live.png', self.onLiveClick)
|
||||
u':/general/general_live.png', self.onLiveClick)
|
||||
## Add to service Button ##
|
||||
self.addToolbarButton(
|
||||
u'Add %s to Service' % self.PluginNameShort,
|
||||
self.trUtf8('Add the selected item(s) to the service'),
|
||||
u':/system/system_add.png', self.onAddClick)
|
||||
u':/general/general_add.png', self.onAddClick)
|
||||
|
||||
def addListViewToToolBar(self):
|
||||
#Add the List widget
|
||||
@ -268,22 +275,22 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
if self.hasEditIcon:
|
||||
self.ListView.addAction(
|
||||
contextMenuAction(
|
||||
self.ListView, u':/%s_new.png' % self.IconPath,
|
||||
self.ListView, u':/general/general_edit.png',
|
||||
u'%s %s' % (self.trUtf8('&Edit'), self.PluginNameVisible),
|
||||
self.onEditClick))
|
||||
self.ListView.addAction(contextMenuSeparator(self.ListView))
|
||||
self.ListView.addAction(
|
||||
contextMenuAction(
|
||||
self.ListView, u':/system/system_preview.png',
|
||||
self.ListView, u':/general/general_preview.png',
|
||||
u'%s %s' % (self.trUtf8('&Preview'), self.PluginNameVisible),
|
||||
self.onPreviewClick))
|
||||
self.ListView.addAction(
|
||||
contextMenuAction(
|
||||
self.ListView, u':/system/system_live.png',
|
||||
self.ListView, u':/general/general_live.png',
|
||||
self.trUtf8('&Show Live'), self.onLiveClick))
|
||||
self.ListView.addAction(
|
||||
contextMenuAction(
|
||||
self.ListView, u':/system/system_add.png',
|
||||
self.ListView, u':/general/general_add.png',
|
||||
self.trUtf8('&Add to Service'), self.onAddClick))
|
||||
QtCore.QObject.connect(
|
||||
self.ListView, QtCore.SIGNAL(u'doubleClicked(QModelIndex)'),
|
||||
@ -313,7 +320,7 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
files = QtGui.QFileDialog.getOpenFileNames(
|
||||
self, self.OnNewPrompt,
|
||||
self.parent.config.get_last_dir(), self.OnNewFileMasks)
|
||||
log.info(u'New files(s)%s', unicode(files))
|
||||
log.info(u'New files(s) %s', unicode(files))
|
||||
if files:
|
||||
self.loadList(files)
|
||||
dir, filename = os.path.split(unicode(files[0]))
|
||||
@ -353,8 +360,8 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
def onPreviewClick(self):
|
||||
if not self.ListView.selectedIndexes() and not self.remoteTriggered:
|
||||
QtGui.QMessageBox.information(self,
|
||||
self.trUtf8('No items selected...'),
|
||||
self.trUtf8('You must select one or more items'))
|
||||
self.trUtf8('No Items Selected'),
|
||||
self.trUtf8('You must select one or more items.'))
|
||||
else:
|
||||
log.debug(self.PluginNameShort + u' Preview requested')
|
||||
service_item = self.buildServiceItem()
|
||||
@ -365,8 +372,8 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
def onLiveClick(self):
|
||||
if not self.ListView.selectedIndexes():
|
||||
QtGui.QMessageBox.information(self,
|
||||
self.trUtf8('No items selected...'),
|
||||
self.trUtf8('You must select one or more items'))
|
||||
self.trUtf8('No Items Selected'),
|
||||
self.trUtf8('You must select one or more items.'))
|
||||
else:
|
||||
log.debug(self.PluginNameShort + u' Live requested')
|
||||
service_item = self.buildServiceItem()
|
||||
@ -377,8 +384,8 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
def onAddClick(self):
|
||||
if not self.ListView.selectedIndexes() and not self.remoteTriggered:
|
||||
QtGui.QMessageBox.information(self,
|
||||
self.trUtf8('No items selected...'),
|
||||
self.trUtf8('You must select one or more items'))
|
||||
self.trUtf8('No Items Selected'),
|
||||
self.trUtf8('You must select one or more items.'))
|
||||
else:
|
||||
log.debug(self.PluginNameShort + u' Add requested')
|
||||
service_item = self.buildServiceItem()
|
||||
|
@ -116,7 +116,7 @@ class Ui_AmendThemeDialog(object):
|
||||
self.ImageLineEdit.setObjectName(u'ImageLineEdit')
|
||||
self.horizontalLayout_2.addWidget(self.ImageLineEdit)
|
||||
self.ImageToolButton = QtGui.QToolButton(self.ImageFilenameWidget)
|
||||
icon1 = build_icon(u':/images/image_load.png')
|
||||
icon1 = build_icon(u':/general/general_open.png')
|
||||
self.ImageToolButton.setIcon(icon1)
|
||||
self.ImageToolButton.setObjectName(u'ImageToolButton')
|
||||
self.horizontalLayout_2.addWidget(self.ImageToolButton)
|
||||
|
@ -114,13 +114,13 @@ class ServiceManager(QtGui.QWidget):
|
||||
# Create the top toolbar
|
||||
self.Toolbar = OpenLPToolbar(self)
|
||||
self.Toolbar.addToolbarButton(
|
||||
self.trUtf8('New Service'), u':/services/service_new.png',
|
||||
self.trUtf8('New Service'), u':/general/general_new.png',
|
||||
self.trUtf8('Create a new service'), self.onNewService)
|
||||
self.Toolbar.addToolbarButton(
|
||||
self.trUtf8('Open Service'), u':/services/service_open.png',
|
||||
self.trUtf8('Open Service'), u':/general/general_open.png',
|
||||
self.trUtf8('Load an existing service'), self.onLoadService)
|
||||
self.Toolbar.addToolbarButton(
|
||||
self.trUtf8('Save Service'), u':/services/service_save.png',
|
||||
self.trUtf8('Save Service'), u':/general/general_save.png',
|
||||
self.trUtf8('Save this service'), self.onSaveService)
|
||||
self.Toolbar.addSeparator()
|
||||
self.ThemeLabel = QtGui.QLabel(self.trUtf8('Theme:'),
|
||||
@ -171,7 +171,7 @@ class ServiceManager(QtGui.QWidget):
|
||||
self.trUtf8('Move to end'), self.onServiceEnd)
|
||||
self.OrderToolbar.addSeparator()
|
||||
self.OrderToolbar.addToolbarButton(
|
||||
self.trUtf8('&Delete From Service'), u':/services/service_delete.png',
|
||||
self.trUtf8('&Delete From Service'), u':/general/general_delete.png',
|
||||
self.trUtf8('Delete From Service'), self.onDeleteFromService)
|
||||
self.Layout.addWidget(self.OrderToolbar)
|
||||
# Connect up our signals and slots
|
||||
@ -201,17 +201,17 @@ class ServiceManager(QtGui.QWidget):
|
||||
#build the context menu
|
||||
self.menu = QtGui.QMenu()
|
||||
self.editAction = self.menu.addAction(self.trUtf8('&Edit Item'))
|
||||
self.editAction.setIcon(build_icon(u':/services/service_edit.png'))
|
||||
self.editAction.setIcon(build_icon(u':/general/general_edit.png'))
|
||||
self.notesAction = self.menu.addAction(self.trUtf8('&Notes'))
|
||||
self.notesAction.setIcon(build_icon(u':/services/service_notes.png'))
|
||||
self.deleteAction = self.menu.addAction(self.trUtf8('&Delete From Service'))
|
||||
self.deleteAction.setIcon(build_icon(u':/services/service_delete.png'))
|
||||
self.deleteAction.setIcon(build_icon(u':/general/general_delete.png'))
|
||||
self.sep1 = self.menu.addAction(u'')
|
||||
self.sep1.setSeparator(True)
|
||||
self.previewAction = self.menu.addAction(self.trUtf8('&Preview Verse'))
|
||||
self.previewAction.setIcon(build_icon(u':/system/system_preview.png'))
|
||||
self.previewAction.setIcon(build_icon(u':/general/general_preview.png'))
|
||||
self.liveAction = self.menu.addAction(self.trUtf8('&Live Verse'))
|
||||
self.liveAction.setIcon(build_icon(u':/system/system_live.png'))
|
||||
self.liveAction.setIcon(build_icon(u':/general/general_live.png'))
|
||||
self.sep2 = self.menu.addAction(u'')
|
||||
self.sep2.setSeparator(True)
|
||||
self.themeMenu = QtGui.QMenu(self.trUtf8(u'&Change Item Theme'))
|
||||
|
@ -177,11 +177,11 @@ class SlideController(QtGui.QWidget):
|
||||
if not self.isLive:
|
||||
self.Toolbar.addToolbarSeparator(u'Close Separator')
|
||||
self.Toolbar.addToolbarButton(
|
||||
u'Go Live', u':/system/system_live.png',
|
||||
u'Go Live', u':/general/general_live.png',
|
||||
self.trUtf8('Move to live'), self.onGoLive)
|
||||
self.Toolbar.addToolbarSeparator(u'Close Separator')
|
||||
self.Toolbar.addToolbarButton(
|
||||
u'Edit Song', u':/services/service_edit.png',
|
||||
u'Edit Song', u':/general/general_edit.png',
|
||||
self.trUtf8('Edit and re-preview Song'), self.onEditSong)
|
||||
if isLive:
|
||||
self.Toolbar.addToolbarSeparator(u'Loop Separator')
|
||||
|
@ -59,14 +59,14 @@ class ThemeManager(QtGui.QWidget):
|
||||
self.trUtf8('Edit Theme'), u':/themes/theme_edit.png',
|
||||
self.trUtf8('Edit a theme'), self.onEditTheme)
|
||||
self.Toolbar.addToolbarButton(
|
||||
self.trUtf8('Delete Theme'), u':/themes/theme_delete.png',
|
||||
self.trUtf8('Delete Theme'), u':/general/general_delete.png',
|
||||
self.trUtf8('Delete a theme'), self.onDeleteTheme)
|
||||
self.Toolbar.addSeparator()
|
||||
self.Toolbar.addToolbarButton(
|
||||
self.trUtf8('Import Theme'), u':/themes/theme_import.png',
|
||||
self.trUtf8('Import Theme'), u':/general/general_import.png',
|
||||
self.trUtf8('Import a theme'), self.onImportTheme)
|
||||
self.Toolbar.addToolbarButton(
|
||||
self.trUtf8('Export Theme'), u':/themes/theme_export.png',
|
||||
self.trUtf8('Export Theme'), u':/general/general_export.png',
|
||||
self.trUtf8('Export a theme'), self.onExportTheme)
|
||||
self.ThemeWidget = QtGui.QWidgetAction(self.Toolbar)
|
||||
self.Layout.addWidget(self.Toolbar)
|
||||
@ -82,17 +82,17 @@ class ThemeManager(QtGui.QWidget):
|
||||
contextMenuSeparator(self.ThemeListWidget))
|
||||
self.ThemeListWidget.addAction(
|
||||
contextMenuAction(self.ThemeListWidget,
|
||||
u':/themes/theme_delete.png',
|
||||
u':/general/general_delete.png',
|
||||
self.trUtf8('Delete theme'),
|
||||
self.onDeleteTheme))
|
||||
self.ThemeListWidget.addAction(
|
||||
contextMenuAction(self.ThemeListWidget,
|
||||
u':/themes/theme_export.png',
|
||||
u':/general/general_export.png',
|
||||
self.trUtf8('Make Global'),
|
||||
self.changeGlobalFromScreen))
|
||||
self.ThemeListWidget.addAction(
|
||||
contextMenuAction(self.ThemeListWidget,
|
||||
u':/themes/theme_export.png',
|
||||
u':/general/general_export.png',
|
||||
self.trUtf8('Export theme'),
|
||||
self.onExportTheme))
|
||||
self.ThemeListWidget.addAction(
|
||||
|
@ -27,9 +27,9 @@ import os
|
||||
import sys
|
||||
import sqlite3
|
||||
|
||||
from sqlalchemy import *
|
||||
from sqlalchemy import *
|
||||
from sqlalchemy import create_engine
|
||||
from sqlalchemy.orm import scoped_session, sessionmaker, mapper, relation
|
||||
from sqlalchemy.orm import scoped_session, sessionmaker, mapper
|
||||
|
||||
from openlp.core.lib import PluginConfig
|
||||
from openlp.plugins.bibles.lib.models import *
|
||||
@ -223,4 +223,3 @@ class MigrateBibles():
|
||||
conn.commit()
|
||||
conn.execute(u'vacuum;')
|
||||
conn.commit()
|
||||
|
||||
|
@ -104,7 +104,7 @@ class Ui_BibleImportWizard(object):
|
||||
self.OsisFileButton = QtGui.QToolButton(self.OsisPage)
|
||||
self.OsisFileButton.setMaximumSize(QtCore.QSize(32, 16777215))
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(u':/imports/import_load.png'),
|
||||
icon.addPixmap(QtGui.QPixmap(u':/general/general_open.png'),
|
||||
QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.OsisFileButton.setIcon(icon)
|
||||
self.OsisFileButton.setObjectName(u'OsisFileButton')
|
||||
|
@ -76,6 +76,8 @@ class BibleMediaItem(MediaManagerItem):
|
||||
|
||||
def requiredIcons(self):
|
||||
MediaManagerItem.requiredIcons(self)
|
||||
self.hasImportIcon = True
|
||||
self.hasNewIcon = False
|
||||
self.hasEditIcon = False
|
||||
self.hasDeleteIcon = False
|
||||
|
||||
@ -373,7 +375,7 @@ class BibleMediaItem(MediaManagerItem):
|
||||
unicode(self.AdvancedBookComboBox.currentText()),
|
||||
self.AdvancedBookComboBox.itemData(item).toInt()[0])
|
||||
|
||||
def onNewClick(self):
|
||||
def onImportClick(self):
|
||||
self.bibleimportform = ImportWizardForm(self, self.parent.config,
|
||||
self.parent.manager, self.parent)
|
||||
self.bibleimportform.exec_()
|
||||
|
@ -147,8 +147,9 @@ class ImpressController(PresentationController):
|
||||
Called at system exit to clean up any running presentations
|
||||
"""
|
||||
log.debug(u'Kill OpenOffice')
|
||||
for doc in self.docs:
|
||||
doc.close_presentation()
|
||||
for i in range(len(self.docs)):
|
||||
self.docs[0].close_presentation() # Yes, always the zeroth one
|
||||
# as close removes item from array
|
||||
if os.name != u'nt':
|
||||
desktop = self.get_uno_desktop()
|
||||
else:
|
||||
|
@ -143,7 +143,7 @@ class PresentationMediaItem(MediaManagerItem):
|
||||
for cidx in self.controllers:
|
||||
doc = self.controllers[cidx].add_doc(filepath)
|
||||
doc.presentation_deleted()
|
||||
self.controllers[cidx].remove_doc(doc)
|
||||
doc.close_presentation()
|
||||
|
||||
def generateSlideData(self, service_item):
|
||||
items = self.ListView.selectedIndexes()
|
||||
@ -171,7 +171,7 @@ class PresentationMediaItem(MediaManagerItem):
|
||||
service_item.add_from_command(path, name, img)
|
||||
i = i + 1
|
||||
img = doc.get_slide_preview_file(i)
|
||||
controller.remove_doc(doc)
|
||||
doc.close_presentation()
|
||||
return True
|
||||
|
||||
def findControllerByType(self, filename):
|
||||
|
@ -81,8 +81,10 @@ class PowerpointController(PresentationController):
|
||||
"""
|
||||
Called at system exit to clean up any running presentations
|
||||
"""
|
||||
for doc in self.docs:
|
||||
doc.close_presentation()
|
||||
log.debug(u'Kill powerpoint')
|
||||
for i in range(len(self.docs)):
|
||||
self.docs[0].close_presentation() # Yes, always the zeroth one
|
||||
# as close removes item from array
|
||||
if self.process is None:
|
||||
return
|
||||
if self.process.Presentations.Count > 0:
|
||||
@ -149,12 +151,12 @@ class PowerpointDocument(PresentationDocument):
|
||||
Triggerent by new object being added to SlideController orOpenLP
|
||||
being shut down
|
||||
"""
|
||||
if self.presentation is None:
|
||||
return
|
||||
try:
|
||||
self.presentation.Close()
|
||||
except:
|
||||
pass
|
||||
log.debug(u'ClosePresentation')
|
||||
if self.presentation:
|
||||
try:
|
||||
self.presentation.Close()
|
||||
except:
|
||||
pass
|
||||
self.presentation = None
|
||||
self.controller.remove_doc(self)
|
||||
|
||||
|
@ -88,9 +88,10 @@ class PptviewController(PresentationController):
|
||||
"""
|
||||
Called at system exit to clean up any running presentations
|
||||
"""
|
||||
log.debug(u'Kill')
|
||||
for doc in self.docs:
|
||||
doc.close_presentation()
|
||||
log.debug(u'Kill pptviewer')
|
||||
for i in range(len(self.docs)):
|
||||
self.docs[0].close_presentation() # Yes, always the zeroth one
|
||||
# as close removes item from array
|
||||
|
||||
def add_doc(self, name):
|
||||
log.debug(u'Add Doc PPTView')
|
||||
@ -137,6 +138,7 @@ class PptviewDocument(PresentationDocument):
|
||||
Triggerent by new object being added to SlideController orOpenLP
|
||||
being shut down
|
||||
"""
|
||||
log.debug(u'ClosePresentation')
|
||||
self.controller.process.ClosePPT(self.pptid)
|
||||
self.pptid = -1
|
||||
self.controller.remove_doc(self)
|
||||
|
@ -498,7 +498,6 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
||||
sxml = SongXMLBuilder()
|
||||
sxml.new_document()
|
||||
sxml.add_lyrics_to_song()
|
||||
count = 1
|
||||
text = u' '
|
||||
for i in range (0, self.VerseListWidget.count()):
|
||||
item = self.VerseListWidget.item(i)
|
||||
@ -506,7 +505,6 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
||||
bits = verseId.split(u':')
|
||||
sxml.add_verse_to_lyrics(bits[0], bits[1], unicode(item.text()))
|
||||
text = text + unicode(self.VerseListWidget.item(i).text()) + u' '
|
||||
count += 1
|
||||
text = text.replace(u'\'', u'')
|
||||
text = text.replace(u',', u'')
|
||||
text = text.replace(u';', u'')
|
||||
|
@ -54,7 +54,7 @@ class Ui_OpenLPExportDialog(object):
|
||||
self.horizontalLayout.addWidget(self.ExportFileLineEdit)
|
||||
self.ExportFileSelectPushButton = QtGui.QPushButton(self.ExportFileWidget)
|
||||
icon1 = QtGui.QIcon()
|
||||
icon1.addPixmap(QtGui.QPixmap(u':/exports/export_load.png'), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
icon1.addPixmap(QtGui.QPixmap(u':/general/general_load.png'), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.ExportFileSelectPushButton.setIcon(icon1)
|
||||
self.ExportFileSelectPushButton.setObjectName(u'ExportFileSelectPushButton')
|
||||
self.horizontalLayout.addWidget(self.ExportFileSelectPushButton)
|
||||
|
@ -282,7 +282,7 @@ class SongMediaItem(MediaManagerItem):
|
||||
raw_footer = []
|
||||
author_list = u''
|
||||
author_audit = []
|
||||
ccl = u''
|
||||
ccli = u''
|
||||
if self.remoteTriggered is None:
|
||||
item = self.ListView.currentItem()
|
||||
if item is None:
|
||||
|
@ -60,7 +60,8 @@ class Ui_SongUsageDetailDialog(object):
|
||||
self.horizontalLayout.addWidget(self.FileLineEdit)
|
||||
self.SaveFilePushButton = QtGui.QPushButton(self.FileGroupBox)
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(u':/exports/export_load.png'), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
icon.addPixmap(QtGui.QPixmap(u':/general/general_load.png'),
|
||||
QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
||||
self.SaveFilePushButton.setIcon(icon)
|
||||
self.SaveFilePushButton.setObjectName(u'SaveFilePushButton')
|
||||
self.horizontalLayout.addWidget(self.SaveFilePushButton)
|
||||
|
@ -13,14 +13,22 @@
|
||||
<file>book_maintenance.png</file>
|
||||
<file>author_maintenance.png</file>
|
||||
<file>topic_maintenance.png</file>
|
||||
<file>song_delete.png</file>
|
||||
<file>song_edit.png</file>
|
||||
<file>song_export.png</file>
|
||||
<file>song_new.png</file>
|
||||
<file>song_author_edit.png</file>
|
||||
<file>song_topic_edit.png</file>
|
||||
<file>song_book_edit.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="general" >
|
||||
<file>general_preview.png</file>
|
||||
<file>general_live.png</file>
|
||||
<file>general_add.png</file>
|
||||
<file>general_delete.png</file>
|
||||
<file>general_edit.png</file>
|
||||
<file>general_export.png</file>
|
||||
<file>general_import.png</file>
|
||||
<file>general_new.png</file>
|
||||
<file>general_open.png</file>
|
||||
<file>general_save.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="slides" >
|
||||
<file>slide_close.png</file>
|
||||
<file>slide_first.png</file>
|
||||
@ -58,47 +66,22 @@
|
||||
<file>export_load.png</file>
|
||||
<file>export_move_to_list.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="custom" >
|
||||
<file>custom_new.png</file>
|
||||
<file>custom_edit.png</file>
|
||||
<file>custom_delete.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="wizards" >
|
||||
<file>wizard_importbible.bmp</file>
|
||||
</qresource>
|
||||
<qresource prefix="presentations" >
|
||||
<file>presentation_delete.png</file>
|
||||
<file>presentation_load.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="videos" >
|
||||
<file>video_delete.png</file>
|
||||
<file>video_load.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="images" >
|
||||
<file>image_delete.png</file>
|
||||
<file>image_load.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="services" >
|
||||
<file>service_edit.png</file>
|
||||
<file>service_notes.png</file>
|
||||
<file>service_item_notes.png</file>
|
||||
<file>service_bottom.png</file>
|
||||
<file>service_down.png</file>
|
||||
<file>service_top.png</file>
|
||||
<file>service_up.png</file>
|
||||
<file>service_delete.png</file>
|
||||
<file>service_new.png</file>
|
||||
<file>service_open.png</file>
|
||||
<file>service_save.png</file>
|
||||
</qresource>
|
||||
<qresource prefix="system" >
|
||||
<file>system_close.png</file>
|
||||
<file>system_about.png</file>
|
||||
<file>system_help_contents.png</file>
|
||||
<file>system_add.png</file>
|
||||
<file>system_preview.png</file>
|
||||
<file>system_mediamanager.png</file>
|
||||
<file>system_live.png</file>
|
||||
<file>system_contribute.png</file>
|
||||
<file>system_servicemanager.png</file>
|
||||
<file>system_thememanager.png</file>
|
||||
@ -129,7 +112,5 @@
|
||||
<file>theme_delete.png</file>
|
||||
<file>theme_new.png</file>
|
||||
<file>theme_edit.png</file>
|
||||
<file>theme_export.png</file>
|
||||
<file>theme_import.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@ -206,7 +206,6 @@ def import_bible():
|
||||
rows = old_cursor.fetchall()
|
||||
if debug or verbose:
|
||||
print 'done.'
|
||||
song_map = {}
|
||||
for row in rows:
|
||||
book_id = int(row[1])
|
||||
chapter = int(row[2])
|
||||
|
Loading…
Reference in New Issue
Block a user