Fixed up the code to work with the new module/directory layout.

bzr-revno: 134
This commit is contained in:
Raoul Snyman 2008-11-28 14:05:41 +00:00
parent 297d8b4a67
commit 518fd4985d
10 changed files with 1327 additions and 1331 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE UserProject SYSTEM "UserProject-4.0.dtd"> <!DOCTYPE UserProject SYSTEM "UserProject-4.0.dtd">
<!-- eric4 user project file for project openlp.org 2.0 --> <!-- eric4 user project file for project openlp.org 2.0 -->
<!-- Saved: 2008-11-27, 22:05:12 --> <!-- Saved: 2008-11-28, 16:03:21 -->
<!-- Copyright (C) 2008 Raoul Snyman, raoulsnyman@openlp.org --> <!-- Copyright (C) 2008 Raoul Snyman, raoulsnyman@openlp.org -->
<UserProject version="4.0"> <UserProject version="4.0">
</UserProject> </UserProject>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Tasks SYSTEM "Tasks-4.2.dtd"> <!DOCTYPE Tasks SYSTEM "Tasks-4.2.dtd">
<!-- eric4 tasks file for project openlp.org 2.0 --> <!-- eric4 tasks file for project openlp.org 2.0 -->
<!-- Saved: 2008-11-27, 22:05:12 --> <!-- Saved: 2008-11-28, 16:03:25 -->
<Tasks version="4.2"> <Tasks version="4.2">
<Task priority="1" completed="False" bugfix="False"> <Task priority="1" completed="False" bugfix="False">
<Summary>TODO: what is the tags for bridge, pre-chorus?</Summary> <Summary>TODO: what is the tags for bridge, pre-chorus?</Summary>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Project SYSTEM "Project-4.4.dtd"> <!DOCTYPE Project SYSTEM "Project-4.4.dtd">
<!-- eric4 project file for project openlp.org 2.0 --> <!-- eric4 project file for project openlp.org 2.0 -->
<!-- Saved: 2008-11-27, 22:05:01 --> <!-- Saved: 2008-11-28, 16:03:20 -->
<!-- Copyright (C) 2008 Raoul Snyman, raoulsnyman@openlp.org --> <!-- Copyright (C) 2008 Raoul Snyman, raoulsnyman@openlp.org -->
<Project version="4.4"> <Project version="4.4">
<ProgLanguage mixed="0">Python</ProgLanguage> <ProgLanguage mixed="0">Python</ProgLanguage>
@ -21,8 +21,6 @@
<Source>openlp/__init__.py</Source> <Source>openlp/__init__.py</Source>
<Source>demo.py</Source> <Source>demo.py</Source>
<Source>openlp/core/settingsmanager.py</Source> <Source>openlp/core/settingsmanager.py</Source>
<Source>openlp/resources/openlp_rc.py</Source>
<Source>openlp/resources/__init__.py</Source>
<Source>openlp/core/plugin.py</Source> <Source>openlp/core/plugin.py</Source>
<Source>openlp/core/xmlrootclass.py</Source> <Source>openlp/core/xmlrootclass.py</Source>
<Source>openlp/plugins/biblemanager/__init__.py</Source> <Source>openlp/plugins/biblemanager/__init__.py</Source>
@ -75,24 +73,10 @@
<Source>openlp/core/event.py</Source> <Source>openlp/core/event.py</Source>
</Sources> </Sources>
<Forms> <Forms>
<Form>openlp/resources/forms/mainwindow.ui</Form>
<Form>openlp/resources/forms/settings.ui</Form>
<Form>openlp/resources/forms/themewizard.ui</Form>
<Form>openlp/resources/forms/about.ui</Form>
<Form>openlp/resources/forms/editsongform.ui</Form>
<Form>openlp/resources/forms/alertform.ui</Form>
<Form>openlp/resources/forms/openlpimportform.ui</Form>
<Form>openlp/resources/forms/openlpexportform.ui</Form>
<Form>openlp/resources/forms/opensongimportform.ui</Form>
<Form>openlp/resources/forms/opensongexportform.ui</Form>
<Form>openlp/resources/forms/splashscreen.ui</Form>
<Form>openlp/resources/forms/songexport.ui</Form>
<Form>openlp/resources/forms/bibleimport.ui</Form>
</Forms> </Forms>
<Translations> <Translations>
</Translations> </Translations>
<Resources> <Resources>
<Resource>openlp/resources/images/openlp-2.qrc</Resource>
</Resources> </Resources>
<Interfaces> <Interfaces>
</Interfaces> </Interfaces>

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80
""" """
OpenLP - Open Source Lyrics Projection OpenLP - Open Source Lyrics Projection
Copyright (c) 2008 Raoul Snyman Copyright (c) 2008 Raoul Snyman
@ -22,7 +21,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
import sys import sys
from PyQt4 import QtCore, QtGui from PyQt4 import QtCore, QtGui
from openlp.resources import * from openlp.core.resources import *
from openlp.core.ui import MainWindow, SplashScreen from openlp.core.ui import MainWindow, SplashScreen
class OpenLP(QtGui.QApplication): class OpenLP(QtGui.QApplication):

View File

@ -1,3 +1,5 @@
# -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
""" """
OpenLP - Open Source Lyrics Projection OpenLP - Open Source Lyrics Projection
Copyright (c) 2008 Raoul Snyman Copyright (c) 2008 Raoul Snyman
@ -15,13 +17,10 @@ You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA Place, Suite 330, Boston, MA 02111-1307 USA
""" """
# vim: autoindent shiftwidth=4 expandtab textwidth=80
# import openlp.plugins
import os, sys import os, sys
import logging import logging
# Shouldn't this be a core class? i.e. from openlp.core import Plugin
from openlp.core import Plugin from openlp.core import Plugin
# Not sure what this is for. I prefer keeping as much code in the class as possible. # Not sure what this is for. I prefer keeping as much code in the class as possible.

View File

@ -1,227 +1,238 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\about.ui' """
# OpenLP - Open Source Lyrics Projection
# Created: Wed Nov 05 20:52:55 2008 Copyright (c) 2008 Raoul Snyman
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918 Portions copyright (c) 2008 Martin Thompson, Tim Bentley,
#
# WARNING! All changes made in this file will be lost! This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
from PyQt4 import QtCore, QtGui Foundation; version 2 of the License.
from openlp.resources import * This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
class AboutForm(object): PARTICULAR PURPOSE. See the GNU General Public License for more details.
def __init__(self): You should have received a copy of the GNU General Public License along with
self.AboutDialog = QtGui.QDialog() this program; if not, write to the Free Software Foundation, Inc., 59 Temple
self.setupUi() Place, Suite 330, Boston, MA 02111-1307 USA
"""
def setupUi(self):
self.AboutDialog.setObjectName("AboutDialog") from PyQt4 import QtCore, QtGui
self.AboutDialog.resize(470, 481)
icon = QtGui.QIcon() from openlp.core.resources import *
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.AboutDialog.setWindowIcon(icon) class AboutForm(object):
self.AboutDialogLayout = QtGui.QVBoxLayout(self.AboutDialog)
self.AboutDialogLayout.setSpacing(8) def __init__(self):
self.AboutDialogLayout.setMargin(8) self.AboutDialog = QtGui.QDialog()
self.AboutDialogLayout.setObjectName("AboutDialogLayout") self.setupUi()
self.Logo = QtGui.QLabel(self.AboutDialog)
self.Logo.setAutoFillBackground(False) def setupUi(self):
self.Logo.setStyleSheet("background-color: rgb(255, 255, 255);") self.AboutDialog.setObjectName("AboutDialog")
self.Logo.setFrameShape(QtGui.QFrame.StyledPanel) self.AboutDialog.resize(470, 481)
self.Logo.setLineWidth(1) icon = QtGui.QIcon()
self.Logo.setPixmap(QtGui.QPixmap(":/graphics/about-new.bmp")) icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.Logo.setScaledContents(False) self.AboutDialog.setWindowIcon(icon)
self.Logo.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.AboutDialogLayout = QtGui.QVBoxLayout(self.AboutDialog)
self.Logo.setObjectName("Logo") self.AboutDialogLayout.setSpacing(8)
self.AboutDialogLayout.addWidget(self.Logo) self.AboutDialogLayout.setMargin(8)
self.AboutNotebook = QtGui.QTabWidget(self.AboutDialog) self.AboutDialogLayout.setObjectName("AboutDialogLayout")
self.AboutNotebook.setObjectName("AboutNotebook") self.Logo = QtGui.QLabel(self.AboutDialog)
self.LicenseTab = QtGui.QWidget() self.Logo.setAutoFillBackground(False)
self.LicenseTab.setObjectName("LicenseTab") self.Logo.setStyleSheet("background-color: rgb(255, 255, 255);")
self.LicenseTabLayout = QtGui.QVBoxLayout(self.LicenseTab) self.Logo.setFrameShape(QtGui.QFrame.StyledPanel)
self.LicenseTabLayout.setSpacing(8) self.Logo.setLineWidth(1)
self.LicenseTabLayout.setMargin(8) self.Logo.setPixmap(QtGui.QPixmap(":/graphics/about-new.bmp"))
self.LicenseTabLayout.setObjectName("LicenseTabLayout") self.Logo.setScaledContents(False)
self.CopyrightLabel = QtGui.QLabel(self.LicenseTab) self.Logo.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.CopyrightLabel.setObjectName("CopyrightLabel") self.Logo.setObjectName("Logo")
self.LicenseTabLayout.addWidget(self.CopyrightLabel) self.AboutDialogLayout.addWidget(self.Logo)
self.AboutAuthors = QtGui.QLabel(self.LicenseTab) self.AboutNotebook = QtGui.QTabWidget(self.AboutDialog)
self.AboutAuthors.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter) self.AboutNotebook.setObjectName("AboutNotebook")
self.AboutAuthors.setWordWrap(True) self.LicenseTab = QtGui.QWidget()
self.AboutAuthors.setObjectName("AboutAuthors") self.LicenseTab.setObjectName("LicenseTab")
self.LicenseTabLayout.addWidget(self.AboutAuthors) self.LicenseTabLayout = QtGui.QVBoxLayout(self.LicenseTab)
self.License1Label = QtGui.QLabel(self.LicenseTab) self.LicenseTabLayout.setSpacing(8)
self.License1Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter) self.LicenseTabLayout.setMargin(8)
self.License1Label.setWordWrap(True) self.LicenseTabLayout.setObjectName("LicenseTabLayout")
self.License1Label.setObjectName("License1Label") self.CopyrightLabel = QtGui.QLabel(self.LicenseTab)
self.LicenseTabLayout.addWidget(self.License1Label) self.CopyrightLabel.setObjectName("CopyrightLabel")
self.License2Label = QtGui.QLabel(self.LicenseTab) self.LicenseTabLayout.addWidget(self.CopyrightLabel)
self.License2Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter) self.AboutAuthors = QtGui.QLabel(self.LicenseTab)
self.License2Label.setWordWrap(True) self.AboutAuthors.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
self.License2Label.setObjectName("License2Label") self.AboutAuthors.setWordWrap(True)
self.LicenseTabLayout.addWidget(self.License2Label) self.AboutAuthors.setObjectName("AboutAuthors")
self.License3Label = QtGui.QLabel(self.LicenseTab) self.LicenseTabLayout.addWidget(self.AboutAuthors)
self.License3Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter) self.License1Label = QtGui.QLabel(self.LicenseTab)
self.License3Label.setWordWrap(True) self.License1Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
self.License3Label.setObjectName("License3Label") self.License1Label.setWordWrap(True)
self.LicenseTabLayout.addWidget(self.License3Label) self.License1Label.setObjectName("License1Label")
self.AboutNotebook.addTab(self.LicenseTab, "") self.LicenseTabLayout.addWidget(self.License1Label)
self.CreditsTab = QtGui.QWidget() self.License2Label = QtGui.QLabel(self.LicenseTab)
self.CreditsTab.setObjectName("CreditsTab") self.License2Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
self.CreditsTabLayout = QtGui.QVBoxLayout(self.CreditsTab) self.License2Label.setWordWrap(True)
self.CreditsTabLayout.setObjectName("CreditsTabLayout") self.License2Label.setObjectName("License2Label")
self.CreditsScrollArea = QtGui.QScrollArea(self.CreditsTab) self.LicenseTabLayout.addWidget(self.License2Label)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) self.License3Label = QtGui.QLabel(self.LicenseTab)
sizePolicy.setHorizontalStretch(0) self.License3Label.setAlignment(QtCore.Qt.AlignJustify|QtCore.Qt.AlignVCenter)
sizePolicy.setVerticalStretch(0) self.License3Label.setWordWrap(True)
sizePolicy.setHeightForWidth(self.CreditsScrollArea.sizePolicy().hasHeightForWidth()) self.License3Label.setObjectName("License3Label")
self.CreditsScrollArea.setSizePolicy(sizePolicy) self.LicenseTabLayout.addWidget(self.License3Label)
self.CreditsScrollArea.setSizeIncrement(QtCore.QSize(10, 10)) self.AboutNotebook.addTab(self.LicenseTab, "")
self.CreditsScrollArea.setBaseSize(QtCore.QSize(372, 391)) self.CreditsTab = QtGui.QWidget()
self.CreditsScrollArea.setMouseTracking(True) self.CreditsTab.setObjectName("CreditsTab")
self.CreditsScrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn) self.CreditsTabLayout = QtGui.QVBoxLayout(self.CreditsTab)
self.CreditsScrollArea.setWidgetResizable(False) self.CreditsTabLayout.setObjectName("CreditsTabLayout")
self.CreditsScrollArea.setAlignment(QtCore.Qt.AlignCenter) self.CreditsScrollArea = QtGui.QScrollArea(self.CreditsTab)
self.CreditsScrollArea.setObjectName("CreditsScrollArea") sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
self.CreditsScrollContent = QtGui.QWidget(self.CreditsScrollArea) sizePolicy.setHorizontalStretch(0)
self.CreditsScrollContent.setGeometry(QtCore.QRect(6, 0, 400, 760)) sizePolicy.setVerticalStretch(0)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHeightForWidth(self.CreditsScrollArea.sizePolicy().hasHeightForWidth())
sizePolicy.setHorizontalStretch(0) self.CreditsScrollArea.setSizePolicy(sizePolicy)
sizePolicy.setVerticalStretch(0) self.CreditsScrollArea.setSizeIncrement(QtCore.QSize(10, 10))
sizePolicy.setHeightForWidth(self.CreditsScrollContent.sizePolicy().hasHeightForWidth()) self.CreditsScrollArea.setBaseSize(QtCore.QSize(372, 391))
self.CreditsScrollContent.setSizePolicy(sizePolicy) self.CreditsScrollArea.setMouseTracking(True)
self.CreditsScrollContent.setBaseSize(QtCore.QSize(400, 760)) self.CreditsScrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOn)
self.CreditsScrollContent.setObjectName("CreditsScrollContent") self.CreditsScrollArea.setWidgetResizable(False)
self.CreditsScrollContentLayout = QtGui.QVBoxLayout(self.CreditsScrollContent) self.CreditsScrollArea.setAlignment(QtCore.Qt.AlignCenter)
self.CreditsScrollContentLayout.setSpacing(0) self.CreditsScrollArea.setObjectName("CreditsScrollArea")
self.CreditsScrollContentLayout.setMargin(8) self.CreditsScrollContent = QtGui.QWidget(self.CreditsScrollArea)
self.CreditsScrollContentLayout.setObjectName("CreditsScrollContentLayout") self.CreditsScrollContent.setGeometry(QtCore.QRect(6, 0, 400, 760))
self.CreditsLabel = QtGui.QLabel(self.CreditsScrollContent) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0)
sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0)
sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.CreditsScrollContent.sizePolicy().hasHeightForWidth())
sizePolicy.setHeightForWidth(self.CreditsLabel.sizePolicy().hasHeightForWidth()) self.CreditsScrollContent.setSizePolicy(sizePolicy)
self.CreditsLabel.setSizePolicy(sizePolicy) self.CreditsScrollContent.setBaseSize(QtCore.QSize(400, 760))
self.CreditsLabel.setMinimumSize(QtCore.QSize(369, 391)) self.CreditsScrollContent.setObjectName("CreditsScrollContent")
self.CreditsLabel.setSizeIncrement(QtCore.QSize(10, 10)) self.CreditsScrollContentLayout = QtGui.QVBoxLayout(self.CreditsScrollContent)
self.CreditsLabel.setBaseSize(QtCore.QSize(369, 760)) self.CreditsScrollContentLayout.setSpacing(0)
font = QtGui.QFont() self.CreditsScrollContentLayout.setMargin(8)
font.setPointSize(12) self.CreditsScrollContentLayout.setObjectName("CreditsScrollContentLayout")
self.CreditsLabel.setFont(font) self.CreditsLabel = QtGui.QLabel(self.CreditsScrollContent)
self.CreditsLabel.setObjectName("CreditsLabel") sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
self.CreditsScrollContentLayout.addWidget(self.CreditsLabel) sizePolicy.setHorizontalStretch(0)
self.CreditsScrollArea.setWidget(self.CreditsScrollContent) sizePolicy.setVerticalStretch(0)
self.CreditsTabLayout.addWidget(self.CreditsScrollArea) sizePolicy.setHeightForWidth(self.CreditsLabel.sizePolicy().hasHeightForWidth())
self.AboutNotebook.addTab(self.CreditsTab, "") self.CreditsLabel.setSizePolicy(sizePolicy)
self.AboutDialogLayout.addWidget(self.AboutNotebook) self.CreditsLabel.setMinimumSize(QtCore.QSize(369, 391))
self.ButtonWidget = QtGui.QWidget(self.AboutDialog) self.CreditsLabel.setSizeIncrement(QtCore.QSize(10, 10))
self.ButtonWidget.setObjectName("ButtonWidget") self.CreditsLabel.setBaseSize(QtCore.QSize(369, 760))
self.ButtonWidgetLayout = QtGui.QHBoxLayout(self.ButtonWidget) font = QtGui.QFont()
self.ButtonWidgetLayout.setSpacing(8) font.setPointSize(12)
self.ButtonWidgetLayout.setMargin(0) self.CreditsLabel.setFont(font)
self.ButtonWidgetLayout.setObjectName("ButtonWidgetLayout") self.CreditsLabel.setObjectName("CreditsLabel")
spacerItem = QtGui.QSpacerItem(275, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.CreditsScrollContentLayout.addWidget(self.CreditsLabel)
self.ButtonWidgetLayout.addItem(spacerItem) self.CreditsScrollArea.setWidget(self.CreditsScrollContent)
self.ContributeButton = QtGui.QPushButton(self.ButtonWidget) self.CreditsTabLayout.addWidget(self.CreditsScrollArea)
self.ContributeButton.setObjectName("ContributeButton") self.AboutNotebook.addTab(self.CreditsTab, "")
self.ButtonWidgetLayout.addWidget(self.ContributeButton) self.AboutDialogLayout.addWidget(self.AboutNotebook)
self.CloseButton = QtGui.QPushButton(self.ButtonWidget) self.ButtonWidget = QtGui.QWidget(self.AboutDialog)
self.CloseButton.setObjectName("CloseButton") self.ButtonWidget.setObjectName("ButtonWidget")
self.ButtonWidgetLayout.addWidget(self.CloseButton) self.ButtonWidgetLayout = QtGui.QHBoxLayout(self.ButtonWidget)
self.AboutDialogLayout.addWidget(self.ButtonWidget) self.ButtonWidgetLayout.setSpacing(8)
self.extContributeItem = QtGui.QAction(self.AboutDialog) self.ButtonWidgetLayout.setMargin(0)
self.extContributeItem.setObjectName("extContributeItem") self.ButtonWidgetLayout.setObjectName("ButtonWidgetLayout")
spacerItem = QtGui.QSpacerItem(275, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.retranslateUi() self.ButtonWidgetLayout.addItem(spacerItem)
self.AboutNotebook.setCurrentIndex(1) self.ContributeButton = QtGui.QPushButton(self.ButtonWidget)
QtCore.QObject.connect(self.CloseButton, QtCore.SIGNAL("clicked()"), self.AboutDialog.close) self.ContributeButton.setObjectName("ContributeButton")
QtCore.QMetaObject.connectSlotsByName(self.AboutDialog) self.ButtonWidgetLayout.addWidget(self.ContributeButton)
self.AboutDialog.setTabOrder(self.CreditsScrollArea, self.ContributeButton) self.CloseButton = QtGui.QPushButton(self.ButtonWidget)
self.CloseButton.setObjectName("CloseButton")
QtCore.QObject.connect(self.ContributeButton, QtCore.SIGNAL("clicked()"), self.onContributeButtonClicked) self.ButtonWidgetLayout.addWidget(self.CloseButton)
self.AboutDialogLayout.addWidget(self.ButtonWidget)
def retranslateUi(self): self.extContributeItem = QtGui.QAction(self.AboutDialog)
self.AboutDialog.setWindowTitle(QtGui.QApplication.translate("AboutDialog", "About openlp.org", None, QtGui.QApplication.UnicodeUTF8)) self.extContributeItem.setObjectName("extContributeItem")
self.CopyrightLabel.setText(QtGui.QApplication.translate("AboutDialog", "Copyright © 2004-2008 openlp.org Foundation", None, QtGui.QApplication.UnicodeUTF8))
self.AboutAuthors.setText(QtGui.QApplication.translate("AboutDialog", "openlp.org is written and maintained by volunteers. If you would like to see more free Christian software being written, please consider contributing by using the button below.", None, QtGui.QApplication.UnicodeUTF8)) self.retranslateUi()
self.License1Label.setText(QtGui.QApplication.translate("AboutDialog", "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.", None, QtGui.QApplication.UnicodeUTF8)) self.AboutNotebook.setCurrentIndex(1)
self.License2Label.setText(QtGui.QApplication.translate("AboutDialog", "You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.", None, QtGui.QApplication.UnicodeUTF8)) QtCore.QObject.connect(self.CloseButton, QtCore.SIGNAL("clicked()"), self.AboutDialog.close)
self.License3Label.setText(QtGui.QApplication.translate("AboutDialog", "This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.", None, QtGui.QApplication.UnicodeUTF8)) QtCore.QMetaObject.connectSlotsByName(self.AboutDialog)
self.AboutNotebook.setTabText(self.AboutNotebook.indexOf(self.LicenseTab), QtGui.QApplication.translate("AboutDialog", "License", None, QtGui.QApplication.UnicodeUTF8)) self.AboutDialog.setTabOrder(self.CreditsScrollArea, self.ContributeButton)
self.CreditsLabel.setText(QtGui.QApplication.translate("AboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" QtCore.QObject.connect(self.ContributeButton, QtCore.SIGNAL("clicked()"), self.onContributeButtonClicked)
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:12pt; font-weight:400; font-style:normal;\">\n" def retranslateUi(self):
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><span style=\" font-size:10pt; font-weight:600; text-decoration: underline;\">openlp.org 2.0.0</span></p>\n" self.AboutDialog.setWindowTitle(QtGui.QApplication.translate("AboutDialog", "About openlp.org", None, QtGui.QApplication.UnicodeUTF8))
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Copyright © 2004-2008 openlp.org Foundation</p>\n" self.CopyrightLabel.setText(QtGui.QApplication.translate("AboutDialog", "Copyright © 2004-2008 openlp.org Foundation", None, QtGui.QApplication.UnicodeUTF8))
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" self.AboutAuthors.setText(QtGui.QApplication.translate("AboutDialog", "openlp.org is written and maintained by volunteers. If you would like to see more free Christian software being written, please consider contributing by using the button below.", None, QtGui.QApplication.UnicodeUTF8))
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Lead Developer -</span></p>\n" self.License1Label.setText(QtGui.QApplication.translate("AboutDialog", "This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.", None, QtGui.QApplication.UnicodeUTF8))
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Raoul Snyman</p>\n" self.License2Label.setText(QtGui.QApplication.translate("AboutDialog", "You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.", None, QtGui.QApplication.UnicodeUTF8))
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" self.License3Label.setText(QtGui.QApplication.translate("AboutDialog", "This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.", None, QtGui.QApplication.UnicodeUTF8))
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Original Development -</span></p>\n" self.AboutNotebook.setTabText(self.AboutNotebook.indexOf(self.LicenseTab), QtGui.QApplication.translate("AboutDialog", "License", None, QtGui.QApplication.UnicodeUTF8))
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Tim Ebenezer</p>\n" self.CreditsLabel.setText(QtGui.QApplication.translate("AboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Additional Development -</span></p>\n" "p, li { white-space: pre-wrap; }\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Derek Scotney</p>\n" "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><span style=\" font-size:10pt; font-weight:600; text-decoration: underline;\">openlp.org 2.0.0</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Testing -</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Copyright © 2004-2008 openlp.org Foundation</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Jonathan Corwin</p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Scott Hileard</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Lead Developer -</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Ken Marshall</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Raoul Snyman</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Duane Pearce</p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Andrew (thealok)</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Original Development -</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Les Norbo</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Tim Ebenezer</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Many others in the community</p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Additional Development -</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Documentation -</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Derek Scotney</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Raoul Snyman</p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Hannah Snyman</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Testing -</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">David Bunce</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Jonathan Corwin</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Seth Mayo</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Scott Hileard</p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Ken Marshall</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Components Used -</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Duane Pearce</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">JCL &amp; JVCL - Project Jedi</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Andrew (thealok)</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Les Norbo</p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Many others in the community</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Toolbar2000 - JR Software</p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">GNU General Public License</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Documentation -</span></p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Raoul Snyman</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">TBX - Alex Denisov</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Hannah Snyman</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Custom Freeware License</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">David Bunce</p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Seth Mayo</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Graphics 32 - Alex Denisov</p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Components Used -</span></p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">JCL &amp; JVCL - Project Jedi</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Saturn Component Pack - Saturn Laboratories</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Toolbar2000 - JR Software</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Final Credit -</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">GNU General Public License</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">\"For God so loved the world that He gave</span></p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">His one and only Son, so that whoever</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">TBX - Alex Denisov</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">believes in Him will not perish but inherit</span></p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Custom Freeware License</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">eternal life.\" -- John 3:16</span></p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">And last but not least, final credit goes to</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Graphics 32 - Alex Denisov</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">God our Father, for sending His Son to die</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">on the cross, setting us free from sin. We</p>\n" "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">bring this software to you for free because</p>\n" "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">Saturn Component Pack - Saturn Laboratories</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">He has set us free.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">Mozilla Public License</span></p>\n"
self.AboutNotebook.setTabText(self.AboutNotebook.indexOf(self.CreditsTab), QtGui.QApplication.translate("AboutDialog", "Credits", None, QtGui.QApplication.UnicodeUTF8)) "<p align=\"center\" style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"></p>\n"
self.ContributeButton.setText(QtGui.QApplication.translate("AboutDialog", "Contribute", None, QtGui.QApplication.UnicodeUTF8)) "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-weight:600;\">- Final Credit -</span></p>\n"
self.CloseButton.setText(QtGui.QApplication.translate("AboutDialog", "Close", None, QtGui.QApplication.UnicodeUTF8)) "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">\"For God so loved the world that He gave</span></p>\n"
self.extContributeItem.setText(QtGui.QApplication.translate("AboutDialog", "&Contribute", None, QtGui.QApplication.UnicodeUTF8)) "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">His one and only Son, so that whoever</span></p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">believes in Him will not perish but inherit</span></p>\n"
def show(self): "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\"><span style=\" font-style:italic;\">eternal life.\" -- John 3:16</span></p>\n"
self.AboutDialog.show() "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">And last but not least, final credit goes to</p>\n"
"<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">God our Father, for sending His Son to die</p>\n"
def onContributeButtonClicked(self): "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">on the cross, setting us free from sin. We</p>\n"
''' This routine will open the default "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">bring this software to you for free because</p>\n"
web-browser to the contribute page "<p align=\"center\" style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:10pt;\">He has set us free.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
of openlp.org as did the original self.AboutNotebook.setTabText(self.AboutNotebook.indexOf(self.CreditsTab), QtGui.QApplication.translate("AboutDialog", "Credits", None, QtGui.QApplication.UnicodeUTF8))
button on the About form self.ContributeButton.setText(QtGui.QApplication.translate("AboutDialog", "Contribute", None, QtGui.QApplication.UnicodeUTF8))
''' self.CloseButton.setText(QtGui.QApplication.translate("AboutDialog", "Close", None, QtGui.QApplication.UnicodeUTF8))
import webbrowser self.extContributeItem.setText(QtGui.QApplication.translate("AboutDialog", "&Contribute", None, QtGui.QApplication.UnicodeUTF8))
url = "http://www.openlp.org/en/documentation/introduction/contributing.html"
webbrowser.open_new(url) def show(self):
self.AboutDialog.show()
def onContributeButtonClicked(self):
''' This routine will open the default
web-browser to the contribute page
of openlp.org as did the original
button on the About form
'''
import webbrowser
url = "http://www.openlp.org/en/documentation/introduction/contributing.html"
webbrowser.open_new(url)

View File

@ -1,81 +1,92 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
# Form implementation generated from reading ui file 'C:\Project Folders\Personal Projects\openlp-2\trunk\openlp\resources\forms\alertform.ui' """
# OpenLP - Open Source Lyrics Projection
# Created: Wed Nov 05 20:54:20 2008 Copyright (c) 2008 Raoul Snyman
# by: PyQt4 UI code generator 4.4.4-snapshot-20080918 Portions copyright (c) 2008 Martin Thompson, Tim Bentley,
#
# WARNING! All changes made in this file will be lost! This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
from PyQt4 import QtCore, QtGui Foundation; version 2 of the License.
from openlp.resources import * This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
class AlertForm(object): PARTICULAR PURPOSE. See the GNU General Public License for more details.
def __init__(self): You should have received a copy of the GNU General Public License along with
self.AlertForm = QtGui.QWidget() this program; if not, write to the Free Software Foundation, Inc., 59 Temple
self.setupUi() Place, Suite 330, Boston, MA 02111-1307 USA
"""
def setupUi(self):
self.AlertForm.setObjectName("AlertForm") from PyQt4 import QtCore, QtGui
self.AlertForm.resize(370, 105)
icon = QtGui.QIcon() from openlp.core.resources import *
icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.AlertForm.setWindowIcon(icon) class AlertForm(object):
self.AlertFormLayout = QtGui.QVBoxLayout(self.AlertForm)
self.AlertFormLayout.setSpacing(8) def __init__(self):
self.AlertFormLayout.setMargin(8) self.AlertForm = QtGui.QWidget()
self.AlertFormLayout.setObjectName("AlertFormLayout") self.setupUi()
self.AlertEntryWidget = QtGui.QWidget(self.AlertForm)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) def setupUi(self):
sizePolicy.setHorizontalStretch(0) self.AlertForm.setObjectName("AlertForm")
sizePolicy.setVerticalStretch(0) self.AlertForm.resize(370, 105)
sizePolicy.setHeightForWidth(self.AlertEntryWidget.sizePolicy().hasHeightForWidth()) icon = QtGui.QIcon()
self.AlertEntryWidget.setSizePolicy(sizePolicy) icon.addPixmap(QtGui.QPixmap(":/icon/openlp.org-icon-32.bmp"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.AlertEntryWidget.setObjectName("AlertEntryWidget") self.AlertForm.setWindowIcon(icon)
self.AlertEntryLabel = QtGui.QLabel(self.AlertEntryWidget) self.AlertFormLayout = QtGui.QVBoxLayout(self.AlertForm)
self.AlertEntryLabel.setGeometry(QtCore.QRect(0, 0, 353, 16)) self.AlertFormLayout.setSpacing(8)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) self.AlertFormLayout.setMargin(8)
sizePolicy.setHorizontalStretch(0) self.AlertFormLayout.setObjectName("AlertFormLayout")
sizePolicy.setVerticalStretch(0) self.AlertEntryWidget = QtGui.QWidget(self.AlertForm)
sizePolicy.setHeightForWidth(self.AlertEntryLabel.sizePolicy().hasHeightForWidth()) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
self.AlertEntryLabel.setSizePolicy(sizePolicy) sizePolicy.setHorizontalStretch(0)
self.AlertEntryLabel.setObjectName("AlertEntryLabel") sizePolicy.setVerticalStretch(0)
self.AlertEntryEditItem = QtGui.QLineEdit(self.AlertEntryWidget) sizePolicy.setHeightForWidth(self.AlertEntryWidget.sizePolicy().hasHeightForWidth())
self.AlertEntryEditItem.setGeometry(QtCore.QRect(0, 20, 353, 21)) self.AlertEntryWidget.setSizePolicy(sizePolicy)
self.AlertEntryEditItem.setObjectName("AlertEntryEditItem") self.AlertEntryWidget.setObjectName("AlertEntryWidget")
self.AlertFormLayout.addWidget(self.AlertEntryWidget) self.AlertEntryLabel = QtGui.QLabel(self.AlertEntryWidget)
self.ButtonBoxWidget = QtGui.QWidget(self.AlertForm) self.AlertEntryLabel.setGeometry(QtCore.QRect(0, 0, 353, 16))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0) sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0) sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.ButtonBoxWidget.sizePolicy().hasHeightForWidth()) sizePolicy.setHeightForWidth(self.AlertEntryLabel.sizePolicy().hasHeightForWidth())
self.ButtonBoxWidget.setSizePolicy(sizePolicy) self.AlertEntryLabel.setSizePolicy(sizePolicy)
self.ButtonBoxWidget.setObjectName("ButtonBoxWidget") self.AlertEntryLabel.setObjectName("AlertEntryLabel")
self.horizontalLayout = QtGui.QHBoxLayout(self.ButtonBoxWidget) self.AlertEntryEditItem = QtGui.QLineEdit(self.AlertEntryWidget)
self.horizontalLayout.setSpacing(8) self.AlertEntryEditItem.setGeometry(QtCore.QRect(0, 20, 353, 21))
self.horizontalLayout.setMargin(0) self.AlertEntryEditItem.setObjectName("AlertEntryEditItem")
self.horizontalLayout.setObjectName("horizontalLayout") self.AlertFormLayout.addWidget(self.AlertEntryWidget)
spacerItem = QtGui.QSpacerItem(267, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.ButtonBoxWidget = QtGui.QWidget(self.AlertForm)
self.horizontalLayout.addItem(spacerItem) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
self.DisplayButton = QtGui.QPushButton(self.ButtonBoxWidget) sizePolicy.setHorizontalStretch(0)
self.DisplayButton.setObjectName("DisplayButton") sizePolicy.setVerticalStretch(0)
self.horizontalLayout.addWidget(self.DisplayButton) sizePolicy.setHeightForWidth(self.ButtonBoxWidget.sizePolicy().hasHeightForWidth())
self.CancelButton = QtGui.QPushButton(self.ButtonBoxWidget) self.ButtonBoxWidget.setSizePolicy(sizePolicy)
self.CancelButton.setObjectName("CancelButton") self.ButtonBoxWidget.setObjectName("ButtonBoxWidget")
self.horizontalLayout.addWidget(self.CancelButton) self.horizontalLayout = QtGui.QHBoxLayout(self.ButtonBoxWidget)
self.AlertFormLayout.addWidget(self.ButtonBoxWidget) self.horizontalLayout.setSpacing(8)
self.horizontalLayout.setMargin(0)
self.retranslateUi() self.horizontalLayout.setObjectName("horizontalLayout")
QtCore.QObject.connect(self.CancelButton, QtCore.SIGNAL("clicked()"), self.AlertForm.close) spacerItem = QtGui.QSpacerItem(267, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
QtCore.QMetaObject.connectSlotsByName(self.AlertForm) self.horizontalLayout.addItem(spacerItem)
self.DisplayButton = QtGui.QPushButton(self.ButtonBoxWidget)
def retranslateUi(self): self.DisplayButton.setObjectName("DisplayButton")
self.AlertForm.setWindowTitle(QtGui.QApplication.translate("AlertForm", "Alert Message", None, QtGui.QApplication.UnicodeUTF8)) self.horizontalLayout.addWidget(self.DisplayButton)
self.AlertEntryLabel.setText(QtGui.QApplication.translate("AlertForm", "Alert Text:", None, QtGui.QApplication.UnicodeUTF8)) self.CancelButton = QtGui.QPushButton(self.ButtonBoxWidget)
self.DisplayButton.setText(QtGui.QApplication.translate("AlertForm", "Display", None, QtGui.QApplication.UnicodeUTF8)) self.CancelButton.setObjectName("CancelButton")
self.CancelButton.setText(QtGui.QApplication.translate("AlertForm", "Cancel", None, QtGui.QApplication.UnicodeUTF8)) self.horizontalLayout.addWidget(self.CancelButton)
self.AlertFormLayout.addWidget(self.ButtonBoxWidget)
def show(self):
self.AlertForm.show() self.retranslateUi()
QtCore.QObject.connect(self.CancelButton, QtCore.SIGNAL("clicked()"), self.AlertForm.close)
QtCore.QMetaObject.connectSlotsByName(self.AlertForm)
def retranslateUi(self):
self.AlertForm.setWindowTitle(QtGui.QApplication.translate("AlertForm", "Alert Message", None, QtGui.QApplication.UnicodeUTF8))
self.AlertEntryLabel.setText(QtGui.QApplication.translate("AlertForm", "Alert Text:", None, QtGui.QApplication.UnicodeUTF8))
self.DisplayButton.setText(QtGui.QApplication.translate("AlertForm", "Display", None, QtGui.QApplication.UnicodeUTF8))
self.CancelButton.setText(QtGui.QApplication.translate("AlertForm", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
def show(self):
self.AlertForm.show()

View File

@ -1,6 +1,5 @@
#!/usr/bin/env pythonw
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80 # vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
""" """
OpenLP - Open Source Lyrics Projection OpenLP - Open Source Lyrics Projection
Copyright (c) 2008 Raoul Snyman Copyright (c) 2008 Raoul Snyman
@ -19,27 +18,14 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA Place, Suite 330, Boston, MA 02111-1307 USA
""" """
# Form implementation generated from reading ui file 'openlp/resources/forms/mainwindow.ui'
#
# Created: Wed Oct 29 21:07:26 2008
# by: PyQt4 UI code generator 4.4.3
#
# WARNING! All changes made in this file will be lost!
from time import sleep from time import sleep
from PyQt4 import QtCore, QtGui from PyQt4 import QtCore, QtGui
from openlp.ui.forms.about import AboutForm from openlp.core.resources import *
from openlp.ui.forms.alertform import AlertForm from openlp.core.ui.about import AboutForm
from openlp.ui.forms.editsongform import EditSongForm from openlp.core.ui.alertform import AlertForm
from openlp.ui.forms.openlpexportform import OpenLPExportForm from openlp.core.ui.settings import SettingsDialog
from openlp.ui.forms.openlpimportform import OpenLPImportForm from openlp.core import Plugin, PluginManager, MediaManagerItem, SettingsTab
from openlp.ui.forms.opensongexportform import OpenSongExportForm
from openlp.ui.forms.opensongimportform import OpenSongImportForm
from openlp.ui.forms.settings import SettingsDialog
from openlp.resources import *
class MainWindow(object): class MainWindow(object):
@ -48,12 +34,13 @@ class MainWindow(object):
self.setupUi() self.setupUi()
self.about_form = AboutForm() self.about_form = AboutForm()
self.alert_form = AlertForm() self.alert_form = AlertForm()
self.edit_song_form = EditSongForm() #self.edit_song_form = EditSongForm()
self.openlpexportform = OpenLPExportForm() #self.openlpexportform = OpenLPExportForm()
self.openlpimportform = OpenLPImportForm() #self.openlpimportform = OpenLPImportForm()
self.opensongexportform = OpenSongExportForm() #self.opensongexportform = OpenSongExportForm()
self.opensongimportform = OpenSongImportForm() #self.opensongimportform = OpenSongImportForm()
self.settings_form = SettingsDialog() self.settings_form = SettingsDialog()
self.plugin_manager = PluginManager()
def setupUi(self): def setupUi(self):
self.main_window.setObjectName("main_window") self.main_window.setObjectName("main_window")
@ -177,395 +164,6 @@ class MainWindow(object):
self.MediaToolBox.setObjectName("MediaToolBox") self.MediaToolBox.setObjectName("MediaToolBox")
# This is where we will eventually get the Plugin Manager to pull in # This is where we will eventually get the Plugin Manager to pull in
# the media manager items. # the media manager items.
self.SongPage = QtGui.QWidget()
self.SongPage.setGeometry(QtCore.QRect(0, 0, 267, 609))
self.SongPage.setObjectName("SongPage")
self.SongsPageLayout = QtGui.QVBoxLayout(self.SongPage)
self.SongsPageLayout.setSpacing(0)
self.SongsPageLayout.setMargin(0)
self.SongsPageLayout.setObjectName("SongsPageLayout")
self.SongToolbar = QtGui.QWidget(self.SongPage)
self.SongToolbar.setObjectName("SongToolbar")
self.SongToolbarLayout = QtGui.QHBoxLayout(self.SongToolbar)
self.SongToolbarLayout.setSpacing(0)
self.SongToolbarLayout.setMargin(0)
self.SongToolbarLayout.setObjectName("SongToolbarLayout")
self.SongNewItem = QtGui.QToolButton(self.SongToolbar)
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(":/songs/song_new.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SongNewItem.setIcon(icon1)
self.SongNewItem.setIconSize(QtCore.QSize(20, 20))
self.SongNewItem.setAutoRaise(True)
self.SongNewItem.setObjectName("SongNewItem")
self.SongToolbarLayout.addWidget(self.SongNewItem)
self.SongEditItem = QtGui.QToolButton(self.SongToolbar)
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(":/songs/song_edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SongEditItem.setIcon(icon2)
self.SongEditItem.setIconSize(QtCore.QSize(20, 20))
self.SongEditItem.setAutoRaise(True)
self.SongEditItem.setObjectName("SongEditItem")
self.SongToolbarLayout.addWidget(self.SongEditItem)
self.SongDeleteItem = QtGui.QToolButton(self.SongToolbar)
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(":/songs/song_delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SongDeleteItem.setIcon(icon3)
self.SongDeleteItem.setIconSize(QtCore.QSize(20, 20))
self.SongDeleteItem.setAutoRaise(True)
self.SongDeleteItem.setObjectName("SongDeleteItem")
self.SongToolbarLayout.addWidget(self.SongDeleteItem)
self.SongLine = QtGui.QFrame(self.SongToolbar)
self.SongLine.setMinimumSize(QtCore.QSize(0, 0))
self.SongLine.setFrameShadow(QtGui.QFrame.Sunken)
self.SongLine.setLineWidth(1)
self.SongLine.setMidLineWidth(0)
self.SongLine.setFrameShape(QtGui.QFrame.VLine)
self.SongLine.setFrameShadow(QtGui.QFrame.Sunken)
self.SongLine.setObjectName("SongLine")
self.SongToolbarLayout.addWidget(self.SongLine)
self.SongPreviewItem = QtGui.QToolButton(self.SongToolbar)
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/system/system_preview.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SongPreviewItem.setIcon(icon4)
self.SongPreviewItem.setIconSize(QtCore.QSize(20, 20))
self.SongPreviewItem.setAutoRaise(True)
self.SongPreviewItem.setObjectName("SongPreviewItem")
self.SongToolbarLayout.addWidget(self.SongPreviewItem)
self.SongLiveItem = QtGui.QToolButton(self.SongToolbar)
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(":/system/system_live.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SongLiveItem.setIcon(icon5)
self.SongLiveItem.setIconSize(QtCore.QSize(20, 20))
self.SongLiveItem.setAutoRaise(True)
self.SongLiveItem.setObjectName("SongLiveItem")
self.SongToolbarLayout.addWidget(self.SongLiveItem)
self.SongAddItem = QtGui.QToolButton(self.SongToolbar)
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(":/system/system_add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.SongAddItem.setIcon(icon6)
self.SongAddItem.setIconSize(QtCore.QSize(20, 20))
self.SongAddItem.setAutoRaise(True)
self.SongAddItem.setObjectName("SongAddItem")
self.SongToolbarLayout.addWidget(self.SongAddItem)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.SongToolbarLayout.addItem(spacerItem)
self.SongsPageLayout.addWidget(self.SongToolbar)
self.SongList = QtGui.QTableWidget(self.SongPage)
self.SongList.setObjectName("SongList")
self.SongList.setColumnCount(0)
self.SongList.setRowCount(0)
self.SongsPageLayout.addWidget(self.SongList)
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(":/media/media_song.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.MediaToolBox.addItem(self.SongPage, icon7, "")
self.VersePage = QtGui.QWidget()
self.VersePage.setGeometry(QtCore.QRect(0, 0, 267, 609))
self.VersePage.setObjectName("VersePage")
self.VersesPageLayout = QtGui.QVBoxLayout(self.VersePage)
self.VersesPageLayout.setSpacing(0)
self.VersesPageLayout.setMargin(0)
self.VersesPageLayout.setObjectName("VersesPageLayout")
self.VerseToolbar = QtGui.QWidget(self.VersePage)
self.VerseToolbar.setObjectName("VerseToolbar")
self.VerseToolbarLayout = QtGui.QHBoxLayout(self.VerseToolbar)
self.VerseToolbarLayout.setSpacing(0)
self.VerseToolbarLayout.setMargin(0)
self.VerseToolbarLayout.setObjectName("VerseToolbarLayout")
self.VersePreviewItem = QtGui.QToolButton(self.VerseToolbar)
self.VersePreviewItem.setIcon(icon4)
self.VersePreviewItem.setIconSize(QtCore.QSize(20, 20))
self.VersePreviewItem.setAutoRaise(True)
self.VersePreviewItem.setObjectName("VersePreviewItem")
self.VerseToolbarLayout.addWidget(self.VersePreviewItem)
self.VerseLiveItem = QtGui.QToolButton(self.VerseToolbar)
self.VerseLiveItem.setIcon(icon5)
self.VerseLiveItem.setIconSize(QtCore.QSize(20, 20))
self.VerseLiveItem.setAutoRaise(True)
self.VerseLiveItem.setObjectName("VerseLiveItem")
self.VerseToolbarLayout.addWidget(self.VerseLiveItem)
self.VerseAddItem = QtGui.QToolButton(self.VerseToolbar)
self.VerseAddItem.setIcon(icon6)
self.VerseAddItem.setIconSize(QtCore.QSize(20, 20))
self.VerseAddItem.setAutoRaise(True)
self.VerseAddItem.setObjectName("VerseAddItem")
self.VerseToolbarLayout.addWidget(self.VerseAddItem)
spacerItem1 = QtGui.QSpacerItem(166, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.VerseToolbarLayout.addItem(spacerItem1)
self.VersesPageLayout.addWidget(self.VerseToolbar)
self.line = QtGui.QFrame(self.VersePage)
self.line.setFrameShape(QtGui.QFrame.HLine)
self.line.setFrameShadow(QtGui.QFrame.Sunken)
self.line.setObjectName("line")
self.VersesPageLayout.addWidget(self.line)
self.VerseSearchWidget = QtGui.QWidget(self.VersePage)
self.VerseSearchWidget.setObjectName("VerseSearchWidget")
self.VerseSearchLayout = QtGui.QGridLayout(self.VerseSearchWidget)
self.VerseSearchLayout.setMargin(8)
self.VerseSearchLayout.setSpacing(8)
self.VerseSearchLayout.setObjectName("VerseSearchLayout")
self.label = QtGui.QLabel(self.VerseSearchWidget)
self.label.setObjectName("label")
self.VerseSearchLayout.addWidget(self.label, 0, 0, 1, 1)
self.comboBox = QtGui.QComboBox(self.VerseSearchWidget)
self.comboBox.setObjectName("comboBox")
self.VerseSearchLayout.addWidget(self.comboBox, 0, 1, 1, 1)
self.label_2 = QtGui.QLabel(self.VerseSearchWidget)
self.label_2.setObjectName("label_2")
self.VerseSearchLayout.addWidget(self.label_2, 1, 0, 1, 1)
self.lineEdit = QtGui.QLineEdit(self.VerseSearchWidget)
self.lineEdit.setObjectName("lineEdit")
self.VerseSearchLayout.addWidget(self.lineEdit, 1, 1, 1, 1)
self.widget = QtGui.QWidget(self.VerseSearchWidget)
self.widget.setObjectName("widget")
self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
self.horizontalLayout.setSpacing(0)
self.horizontalLayout.setMargin(0)
self.horizontalLayout.setObjectName("horizontalLayout")
spacerItem2 = QtGui.QSpacerItem(83, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout.addItem(spacerItem2)
self.pushButton = QtGui.QPushButton(self.widget)
self.pushButton.setObjectName("pushButton")
self.horizontalLayout.addWidget(self.pushButton)
self.VerseSearchLayout.addWidget(self.widget, 2, 1, 1, 1)
self.VersesPageLayout.addWidget(self.VerseSearchWidget)
self.VerseList = QtGui.QTableWidget(self.VersePage)
self.VerseList.setObjectName("VerseList")
self.VerseList.setColumnCount(0)
self.VerseList.setRowCount(0)
self.VersesPageLayout.addWidget(self.VerseList)
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(":/media/media_verse.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.MediaToolBox.addItem(self.VersePage, icon8, "")
self.CustomSlidePage = QtGui.QWidget()
self.CustomSlidePage.setGeometry(QtCore.QRect(0, 0, 267, 609))
self.CustomSlidePage.setObjectName("CustomSlidePage")
self.verticalLayout = QtGui.QVBoxLayout(self.CustomSlidePage)
self.verticalLayout.setSpacing(0)
self.verticalLayout.setMargin(0)
self.verticalLayout.setObjectName("verticalLayout")
self.CustomSlideToolbar = QtGui.QWidget(self.CustomSlidePage)
self.CustomSlideToolbar.setObjectName("CustomSlideToolbar")
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.CustomSlideToolbar)
self.horizontalLayout_2.setSpacing(0)
self.horizontalLayout_2.setContentsMargins(0, 2, 0, 0)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.CustomNewButton = QtGui.QToolButton(self.CustomSlideToolbar)
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(":/custom/custom_new.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.CustomNewButton.setIcon(icon9)
self.CustomNewButton.setIconSize(QtCore.QSize(20, 20))
self.CustomNewButton.setAutoRaise(True)
self.CustomNewButton.setObjectName("CustomNewButton")
self.horizontalLayout_2.addWidget(self.CustomNewButton)
self.CustomEditButton = QtGui.QToolButton(self.CustomSlideToolbar)
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(":/custom/custom_edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.CustomEditButton.setIcon(icon10)
self.CustomEditButton.setIconSize(QtCore.QSize(20, 20))
self.CustomEditButton.setAutoRaise(True)
self.CustomEditButton.setObjectName("CustomEditButton")
self.horizontalLayout_2.addWidget(self.CustomEditButton)
self.CustomDeleteButton = QtGui.QToolButton(self.CustomSlideToolbar)
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(":/custom/custom_delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.CustomDeleteButton.setIcon(icon11)
self.CustomDeleteButton.setIconSize(QtCore.QSize(20, 20))
self.CustomDeleteButton.setAutoRaise(True)
self.CustomDeleteButton.setObjectName("CustomDeleteButton")
self.horizontalLayout_2.addWidget(self.CustomDeleteButton)
self.CustomToolbarLine = QtGui.QFrame(self.CustomSlideToolbar)
self.CustomToolbarLine.setFrameShape(QtGui.QFrame.VLine)
self.CustomToolbarLine.setFrameShadow(QtGui.QFrame.Sunken)
self.CustomToolbarLine.setObjectName("CustomToolbarLine")
self.horizontalLayout_2.addWidget(self.CustomToolbarLine)
self.CustomPreviewButton = QtGui.QToolButton(self.CustomSlideToolbar)
self.CustomPreviewButton.setIcon(icon4)
self.CustomPreviewButton.setIconSize(QtCore.QSize(20, 20))
self.CustomPreviewButton.setAutoRaise(True)
self.CustomPreviewButton.setObjectName("CustomPreviewButton")
self.horizontalLayout_2.addWidget(self.CustomPreviewButton)
self.CustomLiveButton = QtGui.QToolButton(self.CustomSlideToolbar)
self.CustomLiveButton.setIcon(icon5)
self.CustomLiveButton.setIconSize(QtCore.QSize(20, 20))
self.CustomLiveButton.setAutoRaise(True)
self.CustomLiveButton.setObjectName("CustomLiveButton")
self.horizontalLayout_2.addWidget(self.CustomLiveButton)
self.CustomAddButton = QtGui.QToolButton(self.CustomSlideToolbar)
self.CustomAddButton.setIcon(icon6)
self.CustomAddButton.setIconSize(QtCore.QSize(20, 20))
self.CustomAddButton.setAutoRaise(True)
self.CustomAddButton.setObjectName("CustomAddButton")
self.horizontalLayout_2.addWidget(self.CustomAddButton)
spacerItem3 = QtGui.QSpacerItem(84, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_2.addItem(spacerItem3)
self.verticalLayout.addWidget(self.CustomSlideToolbar)
self.CustomSlideList = QtGui.QListWidget(self.CustomSlidePage)
self.CustomSlideList.setObjectName("CustomSlideList")
self.verticalLayout.addWidget(self.CustomSlideList)
icon12 = QtGui.QIcon()
icon12.addPixmap(QtGui.QPixmap(":/media/media_custom.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.MediaToolBox.addItem(self.CustomSlidePage, icon12, "")
self.PresentationPage = QtGui.QWidget()
self.PresentationPage.setGeometry(QtCore.QRect(0, 0, 267, 609))
self.PresentationPage.setObjectName("PresentationPage")
self.PresentationsLayout = QtGui.QVBoxLayout(self.PresentationPage)
self.PresentationsLayout.setSpacing(0)
self.PresentationsLayout.setMargin(0)
self.PresentationsLayout.setObjectName("PresentationsLayout")
self.PresentationToolbar = QtGui.QWidget(self.PresentationPage)
self.PresentationToolbar.setObjectName("PresentationToolbar")
self.PresentationToolbarLayout = QtGui.QHBoxLayout(self.PresentationToolbar)
self.PresentationToolbarLayout.setSpacing(0)
self.PresentationToolbarLayout.setMargin(0)
self.PresentationToolbarLayout.setObjectName("PresentationToolbarLayout")
self.PresentationLoadItem = QtGui.QToolButton(self.PresentationToolbar)
icon13 = QtGui.QIcon()
icon13.addPixmap(QtGui.QPixmap(":/videos/video_load.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.PresentationLoadItem.setIcon(icon13)
self.PresentationLoadItem.setIconSize(QtCore.QSize(20, 20))
self.PresentationLoadItem.setAutoRaise(True)
self.PresentationLoadItem.setObjectName("PresentationLoadItem")
self.PresentationToolbarLayout.addWidget(self.PresentationLoadItem)
self.PresentationDeleteItem = QtGui.QToolButton(self.PresentationToolbar)
icon14 = QtGui.QIcon()
icon14.addPixmap(QtGui.QPixmap(":/videos/video_delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.PresentationDeleteItem.setIcon(icon14)
self.PresentationDeleteItem.setIconSize(QtCore.QSize(20, 20))
self.PresentationDeleteItem.setAutoRaise(True)
self.PresentationDeleteItem.setObjectName("PresentationDeleteItem")
self.PresentationToolbarLayout.addWidget(self.PresentationDeleteItem)
self.PresentationLine = QtGui.QFrame(self.PresentationToolbar)
self.PresentationLine.setFrameShape(QtGui.QFrame.VLine)
self.PresentationLine.setFrameShadow(QtGui.QFrame.Sunken)
self.PresentationLine.setObjectName("PresentationLine")
self.PresentationToolbarLayout.addWidget(self.PresentationLine)
self.PresentationLiveItem = QtGui.QToolButton(self.PresentationToolbar)
self.PresentationLiveItem.setIcon(icon5)
self.PresentationLiveItem.setIconSize(QtCore.QSize(20, 20))
self.PresentationLiveItem.setAutoRaise(True)
self.PresentationLiveItem.setObjectName("PresentationLiveItem")
self.PresentationToolbarLayout.addWidget(self.PresentationLiveItem)
self.PresentationAddItem = QtGui.QToolButton(self.PresentationToolbar)
self.PresentationAddItem.setIcon(icon6)
self.PresentationAddItem.setIconSize(QtCore.QSize(20, 20))
self.PresentationAddItem.setAutoRaise(True)
self.PresentationAddItem.setObjectName("PresentationAddItem")
self.PresentationToolbarLayout.addWidget(self.PresentationAddItem)
spacerItem4 = QtGui.QSpacerItem(166, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.PresentationToolbarLayout.addItem(spacerItem4)
self.PresentationsLayout.addWidget(self.PresentationToolbar)
self.listWidget_2 = QtGui.QListWidget(self.PresentationPage)
self.listWidget_2.setObjectName("listWidget_2")
self.PresentationsLayout.addWidget(self.listWidget_2)
icon15 = QtGui.QIcon()
icon15.addPixmap(QtGui.QPixmap(":/media/media_presentation.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.MediaToolBox.addItem(self.PresentationPage, icon15, "")
self.VideoPage = QtGui.QWidget()
self.VideoPage.setGeometry(QtCore.QRect(0, 0, 267, 609))
self.VideoPage.setObjectName("VideoPage")
self.VideosLayout = QtGui.QVBoxLayout(self.VideoPage)
self.VideosLayout.setSpacing(0)
self.VideosLayout.setMargin(0)
self.VideosLayout.setObjectName("VideosLayout")
self.VideoToolbar = QtGui.QWidget(self.VideoPage)
self.VideoToolbar.setObjectName("VideoToolbar")
self.VideoToolbarLayout = QtGui.QHBoxLayout(self.VideoToolbar)
self.VideoToolbarLayout.setSpacing(0)
self.VideoToolbarLayout.setMargin(0)
self.VideoToolbarLayout.setObjectName("VideoToolbarLayout")
self.VideoLoadItem = QtGui.QToolButton(self.VideoToolbar)
self.VideoLoadItem.setIcon(icon13)
self.VideoLoadItem.setIconSize(QtCore.QSize(20, 20))
self.VideoLoadItem.setAutoRaise(True)
self.VideoLoadItem.setObjectName("VideoLoadItem")
self.VideoToolbarLayout.addWidget(self.VideoLoadItem)
self.VideoDeleteItem = QtGui.QToolButton(self.VideoToolbar)
self.VideoDeleteItem.setIcon(icon14)
self.VideoDeleteItem.setIconSize(QtCore.QSize(20, 20))
self.VideoDeleteItem.setAutoRaise(True)
self.VideoDeleteItem.setObjectName("VideoDeleteItem")
self.VideoToolbarLayout.addWidget(self.VideoDeleteItem)
self.VideoLine = QtGui.QFrame(self.VideoToolbar)
self.VideoLine.setFrameShape(QtGui.QFrame.VLine)
self.VideoLine.setFrameShadow(QtGui.QFrame.Sunken)
self.VideoLine.setObjectName("VideoLine")
self.VideoToolbarLayout.addWidget(self.VideoLine)
self.VideoLiveItem = QtGui.QToolButton(self.VideoToolbar)
self.VideoLiveItem.setIcon(icon5)
self.VideoLiveItem.setIconSize(QtCore.QSize(20, 20))
self.VideoLiveItem.setAutoRaise(True)
self.VideoLiveItem.setObjectName("VideoLiveItem")
self.VideoToolbarLayout.addWidget(self.VideoLiveItem)
self.VideoAddItem = QtGui.QToolButton(self.VideoToolbar)
self.VideoAddItem.setIcon(icon6)
self.VideoAddItem.setIconSize(QtCore.QSize(20, 20))
self.VideoAddItem.setAutoRaise(True)
self.VideoAddItem.setObjectName("VideoAddItem")
self.VideoToolbarLayout.addWidget(self.VideoAddItem)
spacerItem5 = QtGui.QSpacerItem(166, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.VideoToolbarLayout.addItem(spacerItem5)
self.VideosLayout.addWidget(self.VideoToolbar)
self.listWidget = QtGui.QListWidget(self.VideoPage)
self.listWidget.setObjectName("listWidget")
self.VideosLayout.addWidget(self.listWidget)
icon16 = QtGui.QIcon()
icon16.addPixmap(QtGui.QPixmap(":/media/media_video.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.MediaToolBox.addItem(self.VideoPage, icon16, "")
self.ImagePage = QtGui.QWidget()
self.ImagePage.setGeometry(QtCore.QRect(0, 0, 267, 609))
self.ImagePage.setObjectName("ImagePage")
self.ImagesLayout = QtGui.QVBoxLayout(self.ImagePage)
self.ImagesLayout.setSpacing(0)
self.ImagesLayout.setMargin(0)
self.ImagesLayout.setObjectName("ImagesLayout")
self.ImageToolbar = QtGui.QWidget(self.ImagePage)
self.ImageToolbar.setObjectName("ImageToolbar")
self.ImageToolbarLayout = QtGui.QHBoxLayout(self.ImageToolbar)
self.ImageToolbarLayout.setSpacing(0)
self.ImageToolbarLayout.setMargin(0)
self.ImageToolbarLayout.setObjectName("ImageToolbarLayout")
self.ImageLoadItem = QtGui.QToolButton(self.ImageToolbar)
icon17 = QtGui.QIcon()
icon17.addPixmap(QtGui.QPixmap(":/images/image_load.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.ImageLoadItem.setIcon(icon17)
self.ImageLoadItem.setIconSize(QtCore.QSize(20, 20))
self.ImageLoadItem.setAutoRaise(True)
self.ImageLoadItem.setObjectName("ImageLoadItem")
self.ImageToolbarLayout.addWidget(self.ImageLoadItem)
self.ImageDeleteItem = QtGui.QToolButton(self.ImageToolbar)
icon18 = QtGui.QIcon()
icon18.addPixmap(QtGui.QPixmap(":/images/image_delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.ImageDeleteItem.setIcon(icon18)
self.ImageDeleteItem.setIconSize(QtCore.QSize(20, 20))
self.ImageDeleteItem.setAutoRaise(True)
self.ImageDeleteItem.setObjectName("ImageDeleteItem")
self.ImageToolbarLayout.addWidget(self.ImageDeleteItem)
self.ImageLine = QtGui.QFrame(self.ImageToolbar)
self.ImageLine.setFrameShape(QtGui.QFrame.VLine)
self.ImageLine.setFrameShadow(QtGui.QFrame.Sunken)
self.ImageLine.setObjectName("ImageLine")
self.ImageToolbarLayout.addWidget(self.ImageLine)
self.ImageLiveItem = QtGui.QToolButton(self.ImageToolbar)
self.ImageLiveItem.setIcon(icon5)
self.ImageLiveItem.setIconSize(QtCore.QSize(20, 20))
self.ImageLiveItem.setAutoRaise(True)
self.ImageLiveItem.setObjectName("ImageLiveItem")
self.ImageToolbarLayout.addWidget(self.ImageLiveItem)
self.ImageAddItem = QtGui.QToolButton(self.ImageToolbar)
self.ImageAddItem.setIcon(icon6)
self.ImageAddItem.setIconSize(QtCore.QSize(20, 20))
self.ImageAddItem.setAutoRaise(True)
self.ImageAddItem.setObjectName("ImageAddItem")
self.ImageToolbarLayout.addWidget(self.ImageAddItem)
spacerItem6 = QtGui.QSpacerItem(105, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.ImageToolbarLayout.addItem(spacerItem6)
self.ImagesLayout.addWidget(self.ImageToolbar)
self.ImageListView = QtGui.QListWidget(self.ImagePage)
self.ImageListView.setObjectName("ImageListView")
self.ImagesLayout.addWidget(self.ImageListView)
icon19 = QtGui.QIcon()
icon19.addPixmap(QtGui.QPixmap(":/media/media_image.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.MediaToolBox.addItem(self.ImagePage, icon19, "")
self.MediaManagerLayout.addWidget(self.MediaToolBox) self.MediaManagerLayout.addWidget(self.MediaToolBox)
self.MediaManagerDock.setWidget(self.MediaManagerContents) self.MediaManagerDock.setWidget(self.MediaManagerContents)
self.main_window.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.MediaManagerDock) self.main_window.addDockWidget(QtCore.Qt.DockWidgetArea(1), self.MediaManagerDock)
@ -890,11 +488,11 @@ class MainWindow(object):
QtCore.QObject.connect(self.HelpAboutItem, QtCore.SIGNAL("triggered()"), self.onHelpAboutItemClicked) QtCore.QObject.connect(self.HelpAboutItem, QtCore.SIGNAL("triggered()"), self.onHelpAboutItemClicked)
QtCore.QObject.connect(self.ToolsAlertItem, QtCore.SIGNAL("triggered()"), self.onToolsAlertItemClicked) QtCore.QObject.connect(self.ToolsAlertItem, QtCore.SIGNAL("triggered()"), self.onToolsAlertItemClicked)
QtCore.QObject.connect(self.OptionsSettingsItem, QtCore.SIGNAL("triggered()"), self.onOptionsSettingsItemClicked) QtCore.QObject.connect(self.OptionsSettingsItem, QtCore.SIGNAL("triggered()"), self.onOptionsSettingsItemClicked)
QtCore.QObject.connect(self.SongEditItem, QtCore.SIGNAL("clicked()"), self.onSongEditItemClicked) #QtCore.QObject.connect(self.SongEditItem, QtCore.SIGNAL("clicked()"), self.onSongEditItemClicked)
QtCore.QObject.connect(self.ImportOpenlp1Item, QtCore.SIGNAL("triggered()"), self.onImportOpenlp1ItemClicked) #QtCore.QObject.connect(self.ImportOpenlp1Item, QtCore.SIGNAL("triggered()"), self.onImportOpenlp1ItemClicked)
QtCore.QObject.connect(self.ExportOpenlp1Item, QtCore.SIGNAL("triggered()"), self.onExportOpenlp1ItemClicked) #QtCore.QObject.connect(self.ExportOpenlp1Item, QtCore.SIGNAL("triggered()"), self.onExportOpenlp1ItemClicked)
QtCore.QObject.connect(self.ImportOpenSongItem, QtCore.SIGNAL("triggered()"), self.onImportOpenSongItemClicked) #QtCore.QObject.connect(self.ImportOpenSongItem, QtCore.SIGNAL("triggered()"), self.onImportOpenSongItemClicked)
QtCore.QObject.connect(self.ExportOpenSongItem, QtCore.SIGNAL("triggered()"), self.onExportOpenSongItemClicked) #QtCore.QObject.connect(self.ExportOpenSongItem, QtCore.SIGNAL("triggered()"), self.onExportOpenSongItemClicked)
def retranslateUi(self): def retranslateUi(self):
self.main_window.setWindowTitle(QtGui.QApplication.translate("main_window", "openlp.org 2.0", None, QtGui.QApplication.UnicodeUTF8)) self.main_window.setWindowTitle(QtGui.QApplication.translate("main_window", "openlp.org 2.0", None, QtGui.QApplication.UnicodeUTF8))
@ -910,51 +508,6 @@ class MainWindow(object):
self.ToolsMenu.setTitle(QtGui.QApplication.translate("main_window", "&Tools", None, QtGui.QApplication.UnicodeUTF8)) self.ToolsMenu.setTitle(QtGui.QApplication.translate("main_window", "&Tools", None, QtGui.QApplication.UnicodeUTF8))
self.HelpMenu.setTitle(QtGui.QApplication.translate("main_window", "&Help", None, QtGui.QApplication.UnicodeUTF8)) self.HelpMenu.setTitle(QtGui.QApplication.translate("main_window", "&Help", None, QtGui.QApplication.UnicodeUTF8))
self.MediaManagerDock.setWindowTitle(QtGui.QApplication.translate("main_window", "Media Manager", None, QtGui.QApplication.UnicodeUTF8)) self.MediaManagerDock.setWindowTitle(QtGui.QApplication.translate("main_window", "Media Manager", None, QtGui.QApplication.UnicodeUTF8))
self.SongNewItem.setText(QtGui.QApplication.translate("main_window", "New Song", None, QtGui.QApplication.UnicodeUTF8))
self.SongEditItem.setText(QtGui.QApplication.translate("main_window", "Edit Song", None, QtGui.QApplication.UnicodeUTF8))
self.SongDeleteItem.setText(QtGui.QApplication.translate("main_window", "Delete Song", None, QtGui.QApplication.UnicodeUTF8))
self.SongPreviewItem.setText(QtGui.QApplication.translate("main_window", "Send to Preview", None, QtGui.QApplication.UnicodeUTF8))
self.SongLiveItem.setText(QtGui.QApplication.translate("main_window", "Send to Live", None, QtGui.QApplication.UnicodeUTF8))
self.SongAddItem.setText(QtGui.QApplication.translate("main_window", "Add to Service", None, QtGui.QApplication.UnicodeUTF8))
self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.SongPage), QtGui.QApplication.translate("main_window", "Songs", None, QtGui.QApplication.UnicodeUTF8))
self.VersePreviewItem.setText(QtGui.QApplication.translate("main_window", "Send to Preview", None, QtGui.QApplication.UnicodeUTF8))
self.VerseLiveItem.setText(QtGui.QApplication.translate("main_window", "Send to Live", None, QtGui.QApplication.UnicodeUTF8))
self.VerseAddItem.setText(QtGui.QApplication.translate("main_window", "Add to Service", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("main_window", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("main_window", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
self.pushButton.setText(QtGui.QApplication.translate("main_window", "Search", None, QtGui.QApplication.UnicodeUTF8))
self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.VersePage), QtGui.QApplication.translate("main_window", "Bible Verses", None, QtGui.QApplication.UnicodeUTF8))
self.CustomNewButton.setText(QtGui.QApplication.translate("main_window", "New Custom Slide", None, QtGui.QApplication.UnicodeUTF8))
self.CustomEditButton.setText(QtGui.QApplication.translate("main_window", "Edit Custom Slide", None, QtGui.QApplication.UnicodeUTF8))
self.CustomDeleteButton.setText(QtGui.QApplication.translate("main_window", "Delete Custom Slide", None, QtGui.QApplication.UnicodeUTF8))
self.CustomPreviewButton.setText(QtGui.QApplication.translate("main_window", "Preview Custom Slide", None, QtGui.QApplication.UnicodeUTF8))
self.CustomLiveButton.setText(QtGui.QApplication.translate("main_window", "Send Live", None, QtGui.QApplication.UnicodeUTF8))
self.CustomAddButton.setText(QtGui.QApplication.translate("main_window", "Add To Service", None, QtGui.QApplication.UnicodeUTF8))
self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.CustomSlidePage), QtGui.QApplication.translate("main_window", "Custom Slides", None, QtGui.QApplication.UnicodeUTF8))
self.PresentationLoadItem.setToolTip(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
self.PresentationLoadItem.setStatusTip(QtGui.QApplication.translate("main_window", "Load a video", None, QtGui.QApplication.UnicodeUTF8))
self.PresentationLoadItem.setText(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
self.PresentationDeleteItem.setToolTip(QtGui.QApplication.translate("main_window", "Remove Video", None, QtGui.QApplication.UnicodeUTF8))
self.PresentationDeleteItem.setText(QtGui.QApplication.translate("main_window", "RI", None, QtGui.QApplication.UnicodeUTF8))
self.PresentationLiveItem.setText(QtGui.QApplication.translate("main_window", "Send to Live", None, QtGui.QApplication.UnicodeUTF8))
self.PresentationAddItem.setText(QtGui.QApplication.translate("main_window", "Add to Service", None, QtGui.QApplication.UnicodeUTF8))
self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.PresentationPage), QtGui.QApplication.translate("main_window", "Presentations", None, QtGui.QApplication.UnicodeUTF8))
self.VideoLoadItem.setToolTip(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
self.VideoLoadItem.setStatusTip(QtGui.QApplication.translate("main_window", "Load a video", None, QtGui.QApplication.UnicodeUTF8))
self.VideoLoadItem.setText(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
self.VideoDeleteItem.setToolTip(QtGui.QApplication.translate("main_window", "Remove Video", None, QtGui.QApplication.UnicodeUTF8))
self.VideoDeleteItem.setText(QtGui.QApplication.translate("main_window", "RI", None, QtGui.QApplication.UnicodeUTF8))
self.VideoLiveItem.setToolTip(QtGui.QApplication.translate("main_window", "Go Live!", None, QtGui.QApplication.UnicodeUTF8))
self.VideoAddItem.setToolTip(QtGui.QApplication.translate("main_window", "Add to Order of Service", None, QtGui.QApplication.UnicodeUTF8))
self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.VideoPage), QtGui.QApplication.translate("main_window", "Videos", None, QtGui.QApplication.UnicodeUTF8))
self.ImageLoadItem.setToolTip(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
self.ImageLoadItem.setStatusTip(QtGui.QApplication.translate("main_window", "Load a video", None, QtGui.QApplication.UnicodeUTF8))
self.ImageLoadItem.setText(QtGui.QApplication.translate("main_window", "Load Image", None, QtGui.QApplication.UnicodeUTF8))
self.ImageDeleteItem.setToolTip(QtGui.QApplication.translate("main_window", "Remove Video", None, QtGui.QApplication.UnicodeUTF8))
self.ImageDeleteItem.setText(QtGui.QApplication.translate("main_window", "Delete Image", None, QtGui.QApplication.UnicodeUTF8))
self.ImageLiveItem.setToolTip(QtGui.QApplication.translate("main_window", "Go Live!", None, QtGui.QApplication.UnicodeUTF8))
self.ImageAddItem.setToolTip(QtGui.QApplication.translate("main_window", "Add to Order of Service", None, QtGui.QApplication.UnicodeUTF8))
self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.ImagePage), QtGui.QApplication.translate("main_window", "Images", None, QtGui.QApplication.UnicodeUTF8))
self.ServiceManagerDock.setWindowTitle(QtGui.QApplication.translate("main_window", "Service Manager", None, QtGui.QApplication.UnicodeUTF8)) self.ServiceManagerDock.setWindowTitle(QtGui.QApplication.translate("main_window", "Service Manager", None, QtGui.QApplication.UnicodeUTF8))
self.MoveTopButton.setText(QtGui.QApplication.translate("main_window", "Move To Top", None, QtGui.QApplication.UnicodeUTF8)) self.MoveTopButton.setText(QtGui.QApplication.translate("main_window", "Move To Top", None, QtGui.QApplication.UnicodeUTF8))
self.MoveUpButton.setText(QtGui.QApplication.translate("main_window", "Move Up", None, QtGui.QApplication.UnicodeUTF8)) self.MoveUpButton.setText(QtGui.QApplication.translate("main_window", "Move Up", None, QtGui.QApplication.UnicodeUTF8))
@ -1049,20 +602,455 @@ class MainWindow(object):
def onToolsAlertItemClicked(self): def onToolsAlertItemClicked(self):
self.alert_form.show() self.alert_form.show()
def onSongEditItemClicked(self): #def onSongEditItemClicked(self):
self.edit_song_form.show() # self.edit_song_form.show()
def onExportOpenlp1ItemClicked(self): #def onExportOpenlp1ItemClicked(self):
self.openlpexportform.show() # self.openlpexportform.show()
def onImportOpenlp1ItemClicked(self): #def onImportOpenlp1ItemClicked(self):
self.openlpimportform.show() # self.openlpimportform.show()
def onExportOpenSongItemClicked(self): #def onExportOpenSongItemClicked(self):
self.opensongexportform.show() # self.opensongexportform.show()
def onImportOpenSongItemClicked(self): #def onImportOpenSongItemClicked(self):
self.opensongimportform.show() # self.opensongimportform.show()
def onOptionsSettingsItemClicked(self): def onOptionsSettingsItemClicked(self):
self.settings_form.show() self.settings_form.show()
# self.SongPage = QtGui.QWidget()
# self.SongPage.setGeometry(QtCore.QRect(0, 0, 267, 609))
# self.SongPage.setObjectName("SongPage")
# self.SongsPageLayout = QtGui.QVBoxLayout(self.SongPage)
# self.SongsPageLayout.setSpacing(0)
# self.SongsPageLayout.setMargin(0)
# self.SongsPageLayout.setObjectName("SongsPageLayout")
# self.SongToolbar = QtGui.QWidget(self.SongPage)
# self.SongToolbar.setObjectName("SongToolbar")
# self.SongToolbarLayout = QtGui.QHBoxLayout(self.SongToolbar)
# self.SongToolbarLayout.setSpacing(0)
# self.SongToolbarLayout.setMargin(0)
# self.SongToolbarLayout.setObjectName("SongToolbarLayout")
# self.SongNewItem = QtGui.QToolButton(self.SongToolbar)
# icon1 = QtGui.QIcon()
# icon1.addPixmap(QtGui.QPixmap(":/songs/song_new.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.SongNewItem.setIcon(icon1)
# self.SongNewItem.setIconSize(QtCore.QSize(20, 20))
# self.SongNewItem.setAutoRaise(True)
# self.SongNewItem.setObjectName("SongNewItem")
# self.SongToolbarLayout.addWidget(self.SongNewItem)
# self.SongEditItem = QtGui.QToolButton(self.SongToolbar)
# icon2 = QtGui.QIcon()
# icon2.addPixmap(QtGui.QPixmap(":/songs/song_edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.SongEditItem.setIcon(icon2)
# self.SongEditItem.setIconSize(QtCore.QSize(20, 20))
# self.SongEditItem.setAutoRaise(True)
# self.SongEditItem.setObjectName("SongEditItem")
# self.SongToolbarLayout.addWidget(self.SongEditItem)
# self.SongDeleteItem = QtGui.QToolButton(self.SongToolbar)
# icon3 = QtGui.QIcon()
# icon3.addPixmap(QtGui.QPixmap(":/songs/song_delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.SongDeleteItem.setIcon(icon3)
# self.SongDeleteItem.setIconSize(QtCore.QSize(20, 20))
# self.SongDeleteItem.setAutoRaise(True)
# self.SongDeleteItem.setObjectName("SongDeleteItem")
# self.SongToolbarLayout.addWidget(self.SongDeleteItem)
# self.SongLine = QtGui.QFrame(self.SongToolbar)
# self.SongLine.setMinimumSize(QtCore.QSize(0, 0))
# self.SongLine.setFrameShadow(QtGui.QFrame.Sunken)
# self.SongLine.setLineWidth(1)
# self.SongLine.setMidLineWidth(0)
# self.SongLine.setFrameShape(QtGui.QFrame.VLine)
# self.SongLine.setFrameShadow(QtGui.QFrame.Sunken)
# self.SongLine.setObjectName("SongLine")
# self.SongToolbarLayout.addWidget(self.SongLine)
# self.SongPreviewItem = QtGui.QToolButton(self.SongToolbar)
# icon4 = QtGui.QIcon()
# icon4.addPixmap(QtGui.QPixmap(":/system/system_preview.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.SongPreviewItem.setIcon(icon4)
# self.SongPreviewItem.setIconSize(QtCore.QSize(20, 20))
# self.SongPreviewItem.setAutoRaise(True)
# self.SongPreviewItem.setObjectName("SongPreviewItem")
# self.SongToolbarLayout.addWidget(self.SongPreviewItem)
# self.SongLiveItem = QtGui.QToolButton(self.SongToolbar)
# icon5 = QtGui.QIcon()
# icon5.addPixmap(QtGui.QPixmap(":/system/system_live.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.SongLiveItem.setIcon(icon5)
# self.SongLiveItem.setIconSize(QtCore.QSize(20, 20))
# self.SongLiveItem.setAutoRaise(True)
# self.SongLiveItem.setObjectName("SongLiveItem")
# self.SongToolbarLayout.addWidget(self.SongLiveItem)
# self.SongAddItem = QtGui.QToolButton(self.SongToolbar)
# icon6 = QtGui.QIcon()
# icon6.addPixmap(QtGui.QPixmap(":/system/system_add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.SongAddItem.setIcon(icon6)
# self.SongAddItem.setIconSize(QtCore.QSize(20, 20))
# self.SongAddItem.setAutoRaise(True)
# self.SongAddItem.setObjectName("SongAddItem")
# self.SongToolbarLayout.addWidget(self.SongAddItem)
# spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
# self.SongToolbarLayout.addItem(spacerItem)
# self.SongsPageLayout.addWidget(self.SongToolbar)
# self.SongList = QtGui.QTableWidget(self.SongPage)
# self.SongList.setObjectName("SongList")
# self.SongList.setColumnCount(0)
# self.SongList.setRowCount(0)
# self.SongsPageLayout.addWidget(self.SongList)
# icon7 = QtGui.QIcon()
# icon7.addPixmap(QtGui.QPixmap(":/media/media_song.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.MediaToolBox.addItem(self.SongPage, icon7, "")
# self.VersePage = QtGui.QWidget()
# self.VersePage.setGeometry(QtCore.QRect(0, 0, 267, 609))
# self.VersePage.setObjectName("VersePage")
# self.VersesPageLayout = QtGui.QVBoxLayout(self.VersePage)
# self.VersesPageLayout.setSpacing(0)
# self.VersesPageLayout.setMargin(0)
# self.VersesPageLayout.setObjectName("VersesPageLayout")
# self.VerseToolbar = QtGui.QWidget(self.VersePage)
# self.VerseToolbar.setObjectName("VerseToolbar")
# self.VerseToolbarLayout = QtGui.QHBoxLayout(self.VerseToolbar)
# self.VerseToolbarLayout.setSpacing(0)
# self.VerseToolbarLayout.setMargin(0)
# self.VerseToolbarLayout.setObjectName("VerseToolbarLayout")
# self.VersePreviewItem = QtGui.QToolButton(self.VerseToolbar)
# self.VersePreviewItem.setIcon(icon4)
# self.VersePreviewItem.setIconSize(QtCore.QSize(20, 20))
# self.VersePreviewItem.setAutoRaise(True)
# self.VersePreviewItem.setObjectName("VersePreviewItem")
# self.VerseToolbarLayout.addWidget(self.VersePreviewItem)
# self.VerseLiveItem = QtGui.QToolButton(self.VerseToolbar)
# self.VerseLiveItem.setIcon(icon5)
# self.VerseLiveItem.setIconSize(QtCore.QSize(20, 20))
# self.VerseLiveItem.setAutoRaise(True)
# self.VerseLiveItem.setObjectName("VerseLiveItem")
# self.VerseToolbarLayout.addWidget(self.VerseLiveItem)
# self.VerseAddItem = QtGui.QToolButton(self.VerseToolbar)
# self.VerseAddItem.setIcon(icon6)
# self.VerseAddItem.setIconSize(QtCore.QSize(20, 20))
# self.VerseAddItem.setAutoRaise(True)
# self.VerseAddItem.setObjectName("VerseAddItem")
# self.VerseToolbarLayout.addWidget(self.VerseAddItem)
# spacerItem1 = QtGui.QSpacerItem(166, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
# self.VerseToolbarLayout.addItem(spacerItem1)
# self.VersesPageLayout.addWidget(self.VerseToolbar)
# self.line = QtGui.QFrame(self.VersePage)
# self.line.setFrameShape(QtGui.QFrame.HLine)
# self.line.setFrameShadow(QtGui.QFrame.Sunken)
# self.line.setObjectName("line")
# self.VersesPageLayout.addWidget(self.line)
# self.VerseSearchWidget = QtGui.QWidget(self.VersePage)
# self.VerseSearchWidget.setObjectName("VerseSearchWidget")
# self.VerseSearchLayout = QtGui.QGridLayout(self.VerseSearchWidget)
# self.VerseSearchLayout.setMargin(8)
# self.VerseSearchLayout.setSpacing(8)
# self.VerseSearchLayout.setObjectName("VerseSearchLayout")
# self.label = QtGui.QLabel(self.VerseSearchWidget)
# self.label.setObjectName("label")
# self.VerseSearchLayout.addWidget(self.label, 0, 0, 1, 1)
# self.comboBox = QtGui.QComboBox(self.VerseSearchWidget)
# self.comboBox.setObjectName("comboBox")
# self.VerseSearchLayout.addWidget(self.comboBox, 0, 1, 1, 1)
# self.label_2 = QtGui.QLabel(self.VerseSearchWidget)
# self.label_2.setObjectName("label_2")
# self.VerseSearchLayout.addWidget(self.label_2, 1, 0, 1, 1)
# self.lineEdit = QtGui.QLineEdit(self.VerseSearchWidget)
# self.lineEdit.setObjectName("lineEdit")
# self.VerseSearchLayout.addWidget(self.lineEdit, 1, 1, 1, 1)
# self.widget = QtGui.QWidget(self.VerseSearchWidget)
# self.widget.setObjectName("widget")
# self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
# self.horizontalLayout.setSpacing(0)
# self.horizontalLayout.setMargin(0)
# self.horizontalLayout.setObjectName("horizontalLayout")
# spacerItem2 = QtGui.QSpacerItem(83, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
# self.horizontalLayout.addItem(spacerItem2)
# self.pushButton = QtGui.QPushButton(self.widget)
# self.pushButton.setObjectName("pushButton")
# self.horizontalLayout.addWidget(self.pushButton)
# self.VerseSearchLayout.addWidget(self.widget, 2, 1, 1, 1)
# self.VersesPageLayout.addWidget(self.VerseSearchWidget)
# self.VerseList = QtGui.QTableWidget(self.VersePage)
# self.VerseList.setObjectName("VerseList")
# self.VerseList.setColumnCount(0)
# self.VerseList.setRowCount(0)
# self.VersesPageLayout.addWidget(self.VerseList)
# icon8 = QtGui.QIcon()
# icon8.addPixmap(QtGui.QPixmap(":/media/media_verse.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.MediaToolBox.addItem(self.VersePage, icon8, "")
# self.CustomSlidePage = QtGui.QWidget()
# self.CustomSlidePage.setGeometry(QtCore.QRect(0, 0, 267, 609))
# self.CustomSlidePage.setObjectName("CustomSlidePage")
# self.verticalLayout = QtGui.QVBoxLayout(self.CustomSlidePage)
# self.verticalLayout.setSpacing(0)
# self.verticalLayout.setMargin(0)
# self.verticalLayout.setObjectName("verticalLayout")
# self.CustomSlideToolbar = QtGui.QWidget(self.CustomSlidePage)
# self.CustomSlideToolbar.setObjectName("CustomSlideToolbar")
# self.horizontalLayout_2 = QtGui.QHBoxLayout(self.CustomSlideToolbar)
# self.horizontalLayout_2.setSpacing(0)
# self.horizontalLayout_2.setContentsMargins(0, 2, 0, 0)
# self.horizontalLayout_2.setObjectName("horizontalLayout_2")
# self.CustomNewButton = QtGui.QToolButton(self.CustomSlideToolbar)
# icon9 = QtGui.QIcon()
# icon9.addPixmap(QtGui.QPixmap(":/custom/custom_new.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.CustomNewButton.setIcon(icon9)
# self.CustomNewButton.setIconSize(QtCore.QSize(20, 20))
# self.CustomNewButton.setAutoRaise(True)
# self.CustomNewButton.setObjectName("CustomNewButton")
# self.horizontalLayout_2.addWidget(self.CustomNewButton)
# self.CustomEditButton = QtGui.QToolButton(self.CustomSlideToolbar)
# icon10 = QtGui.QIcon()
# icon10.addPixmap(QtGui.QPixmap(":/custom/custom_edit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.CustomEditButton.setIcon(icon10)
# self.CustomEditButton.setIconSize(QtCore.QSize(20, 20))
# self.CustomEditButton.setAutoRaise(True)
# self.CustomEditButton.setObjectName("CustomEditButton")
# self.horizontalLayout_2.addWidget(self.CustomEditButton)
# self.CustomDeleteButton = QtGui.QToolButton(self.CustomSlideToolbar)
# icon11 = QtGui.QIcon()
# icon11.addPixmap(QtGui.QPixmap(":/custom/custom_delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.CustomDeleteButton.setIcon(icon11)
# self.CustomDeleteButton.setIconSize(QtCore.QSize(20, 20))
# self.CustomDeleteButton.setAutoRaise(True)
# self.CustomDeleteButton.setObjectName("CustomDeleteButton")
# self.horizontalLayout_2.addWidget(self.CustomDeleteButton)
# self.CustomToolbarLine = QtGui.QFrame(self.CustomSlideToolbar)
# self.CustomToolbarLine.setFrameShape(QtGui.QFrame.VLine)
# self.CustomToolbarLine.setFrameShadow(QtGui.QFrame.Sunken)
# self.CustomToolbarLine.setObjectName("CustomToolbarLine")
# self.horizontalLayout_2.addWidget(self.CustomToolbarLine)
# self.CustomPreviewButton = QtGui.QToolButton(self.CustomSlideToolbar)
# self.CustomPreviewButton.setIcon(icon4)
# self.CustomPreviewButton.setIconSize(QtCore.QSize(20, 20))
# self.CustomPreviewButton.setAutoRaise(True)
# self.CustomPreviewButton.setObjectName("CustomPreviewButton")
# self.horizontalLayout_2.addWidget(self.CustomPreviewButton)
# self.CustomLiveButton = QtGui.QToolButton(self.CustomSlideToolbar)
# self.CustomLiveButton.setIcon(icon5)
# self.CustomLiveButton.setIconSize(QtCore.QSize(20, 20))
# self.CustomLiveButton.setAutoRaise(True)
# self.CustomLiveButton.setObjectName("CustomLiveButton")
# self.horizontalLayout_2.addWidget(self.CustomLiveButton)
# self.CustomAddButton = QtGui.QToolButton(self.CustomSlideToolbar)
# self.CustomAddButton.setIcon(icon6)
# self.CustomAddButton.setIconSize(QtCore.QSize(20, 20))
# self.CustomAddButton.setAutoRaise(True)
# self.CustomAddButton.setObjectName("CustomAddButton")
# self.horizontalLayout_2.addWidget(self.CustomAddButton)
# spacerItem3 = QtGui.QSpacerItem(84, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
# self.horizontalLayout_2.addItem(spacerItem3)
# self.verticalLayout.addWidget(self.CustomSlideToolbar)
# self.CustomSlideList = QtGui.QListWidget(self.CustomSlidePage)
# self.CustomSlideList.setObjectName("CustomSlideList")
# self.verticalLayout.addWidget(self.CustomSlideList)
# icon12 = QtGui.QIcon()
# icon12.addPixmap(QtGui.QPixmap(":/media/media_custom.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.MediaToolBox.addItem(self.CustomSlidePage, icon12, "")
# self.PresentationPage = QtGui.QWidget()
# self.PresentationPage.setGeometry(QtCore.QRect(0, 0, 267, 609))
# self.PresentationPage.setObjectName("PresentationPage")
# self.PresentationsLayout = QtGui.QVBoxLayout(self.PresentationPage)
# self.PresentationsLayout.setSpacing(0)
# self.PresentationsLayout.setMargin(0)
# self.PresentationsLayout.setObjectName("PresentationsLayout")
# self.PresentationToolbar = QtGui.QWidget(self.PresentationPage)
# self.PresentationToolbar.setObjectName("PresentationToolbar")
# self.PresentationToolbarLayout = QtGui.QHBoxLayout(self.PresentationToolbar)
# self.PresentationToolbarLayout.setSpacing(0)
# self.PresentationToolbarLayout.setMargin(0)
# self.PresentationToolbarLayout.setObjectName("PresentationToolbarLayout")
# self.PresentationLoadItem = QtGui.QToolButton(self.PresentationToolbar)
# icon13 = QtGui.QIcon()
# icon13.addPixmap(QtGui.QPixmap(":/videos/video_load.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.PresentationLoadItem.setIcon(icon13)
# self.PresentationLoadItem.setIconSize(QtCore.QSize(20, 20))
# self.PresentationLoadItem.setAutoRaise(True)
# self.PresentationLoadItem.setObjectName("PresentationLoadItem")
# self.PresentationToolbarLayout.addWidget(self.PresentationLoadItem)
# self.PresentationDeleteItem = QtGui.QToolButton(self.PresentationToolbar)
# icon14 = QtGui.QIcon()
# icon14.addPixmap(QtGui.QPixmap(":/videos/video_delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.PresentationDeleteItem.setIcon(icon14)
# self.PresentationDeleteItem.setIconSize(QtCore.QSize(20, 20))
# self.PresentationDeleteItem.setAutoRaise(True)
# self.PresentationDeleteItem.setObjectName("PresentationDeleteItem")
# self.PresentationToolbarLayout.addWidget(self.PresentationDeleteItem)
# self.PresentationLine = QtGui.QFrame(self.PresentationToolbar)
# self.PresentationLine.setFrameShape(QtGui.QFrame.VLine)
# self.PresentationLine.setFrameShadow(QtGui.QFrame.Sunken)
# self.PresentationLine.setObjectName("PresentationLine")
# self.PresentationToolbarLayout.addWidget(self.PresentationLine)
# self.PresentationLiveItem = QtGui.QToolButton(self.PresentationToolbar)
# self.PresentationLiveItem.setIcon(icon5)
# self.PresentationLiveItem.setIconSize(QtCore.QSize(20, 20))
# self.PresentationLiveItem.setAutoRaise(True)
# self.PresentationLiveItem.setObjectName("PresentationLiveItem")
# self.PresentationToolbarLayout.addWidget(self.PresentationLiveItem)
# self.PresentationAddItem = QtGui.QToolButton(self.PresentationToolbar)
# self.PresentationAddItem.setIcon(icon6)
# self.PresentationAddItem.setIconSize(QtCore.QSize(20, 20))
# self.PresentationAddItem.setAutoRaise(True)
# self.PresentationAddItem.setObjectName("PresentationAddItem")
# self.PresentationToolbarLayout.addWidget(self.PresentationAddItem)
# spacerItem4 = QtGui.QSpacerItem(166, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
# self.PresentationToolbarLayout.addItem(spacerItem4)
# self.PresentationsLayout.addWidget(self.PresentationToolbar)
# self.listWidget_2 = QtGui.QListWidget(self.PresentationPage)
# self.listWidget_2.setObjectName("listWidget_2")
# self.PresentationsLayout.addWidget(self.listWidget_2)
# icon15 = QtGui.QIcon()
# icon15.addPixmap(QtGui.QPixmap(":/media/media_presentation.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.MediaToolBox.addItem(self.PresentationPage, icon15, "")
# self.VideoPage = QtGui.QWidget()
# self.VideoPage.setGeometry(QtCore.QRect(0, 0, 267, 609))
# self.VideoPage.setObjectName("VideoPage")
# self.VideosLayout = QtGui.QVBoxLayout(self.VideoPage)
# self.VideosLayout.setSpacing(0)
# self.VideosLayout.setMargin(0)
# self.VideosLayout.setObjectName("VideosLayout")
# self.VideoToolbar = QtGui.QWidget(self.VideoPage)
# self.VideoToolbar.setObjectName("VideoToolbar")
# self.VideoToolbarLayout = QtGui.QHBoxLayout(self.VideoToolbar)
# self.VideoToolbarLayout.setSpacing(0)
# self.VideoToolbarLayout.setMargin(0)
# self.VideoToolbarLayout.setObjectName("VideoToolbarLayout")
# self.VideoLoadItem = QtGui.QToolButton(self.VideoToolbar)
# self.VideoLoadItem.setIcon(icon13)
# self.VideoLoadItem.setIconSize(QtCore.QSize(20, 20))
# self.VideoLoadItem.setAutoRaise(True)
# self.VideoLoadItem.setObjectName("VideoLoadItem")
# self.VideoToolbarLayout.addWidget(self.VideoLoadItem)
# self.VideoDeleteItem = QtGui.QToolButton(self.VideoToolbar)
# self.VideoDeleteItem.setIcon(icon14)
# self.VideoDeleteItem.setIconSize(QtCore.QSize(20, 20))
# self.VideoDeleteItem.setAutoRaise(True)
# self.VideoDeleteItem.setObjectName("VideoDeleteItem")
# self.VideoToolbarLayout.addWidget(self.VideoDeleteItem)
# self.VideoLine = QtGui.QFrame(self.VideoToolbar)
# self.VideoLine.setFrameShape(QtGui.QFrame.VLine)
# self.VideoLine.setFrameShadow(QtGui.QFrame.Sunken)
# self.VideoLine.setObjectName("VideoLine")
# self.VideoToolbarLayout.addWidget(self.VideoLine)
# self.VideoLiveItem = QtGui.QToolButton(self.VideoToolbar)
# self.VideoLiveItem.setIcon(icon5)
# self.VideoLiveItem.setIconSize(QtCore.QSize(20, 20))
# self.VideoLiveItem.setAutoRaise(True)
# self.VideoLiveItem.setObjectName("VideoLiveItem")
# self.VideoToolbarLayout.addWidget(self.VideoLiveItem)
# self.VideoAddItem = QtGui.QToolButton(self.VideoToolbar)
# self.VideoAddItem.setIcon(icon6)
# self.VideoAddItem.setIconSize(QtCore.QSize(20, 20))
# self.VideoAddItem.setAutoRaise(True)
# self.VideoAddItem.setObjectName("VideoAddItem")
# self.VideoToolbarLayout.addWidget(self.VideoAddItem)
# spacerItem5 = QtGui.QSpacerItem(166, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
# self.VideoToolbarLayout.addItem(spacerItem5)
# self.VideosLayout.addWidget(self.VideoToolbar)
# self.listWidget = QtGui.QListWidget(self.VideoPage)
# self.listWidget.setObjectName("listWidget")
# self.VideosLayout.addWidget(self.listWidget)
# icon16 = QtGui.QIcon()
# icon16.addPixmap(QtGui.QPixmap(":/media/media_video.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.MediaToolBox.addItem(self.VideoPage, icon16, "")
# self.ImagePage = QtGui.QWidget()
# self.ImagePage.setGeometry(QtCore.QRect(0, 0, 267, 609))
# self.ImagePage.setObjectName("ImagePage")
# self.ImagesLayout = QtGui.QVBoxLayout(self.ImagePage)
# self.ImagesLayout.setSpacing(0)
# self.ImagesLayout.setMargin(0)
# self.ImagesLayout.setObjectName("ImagesLayout")
# self.ImageToolbar = QtGui.QWidget(self.ImagePage)
# self.ImageToolbar.setObjectName("ImageToolbar")
# self.ImageToolbarLayout = QtGui.QHBoxLayout(self.ImageToolbar)
# self.ImageToolbarLayout.setSpacing(0)
# self.ImageToolbarLayout.setMargin(0)
# self.ImageToolbarLayout.setObjectName("ImageToolbarLayout")
# self.ImageLoadItem = QtGui.QToolButton(self.ImageToolbar)
# icon17 = QtGui.QIcon()
# icon17.addPixmap(QtGui.QPixmap(":/images/image_load.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.ImageLoadItem.setIcon(icon17)
# self.ImageLoadItem.setIconSize(QtCore.QSize(20, 20))
# self.ImageLoadItem.setAutoRaise(True)
# self.ImageLoadItem.setObjectName("ImageLoadItem")
# self.ImageToolbarLayout.addWidget(self.ImageLoadItem)
# self.ImageDeleteItem = QtGui.QToolButton(self.ImageToolbar)
# icon18 = QtGui.QIcon()
# icon18.addPixmap(QtGui.QPixmap(":/images/image_delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.ImageDeleteItem.setIcon(icon18)
# self.ImageDeleteItem.setIconSize(QtCore.QSize(20, 20))
# self.ImageDeleteItem.setAutoRaise(True)
# self.ImageDeleteItem.setObjectName("ImageDeleteItem")
# self.ImageToolbarLayout.addWidget(self.ImageDeleteItem)
# self.ImageLine = QtGui.QFrame(self.ImageToolbar)
# self.ImageLine.setFrameShape(QtGui.QFrame.VLine)
# self.ImageLine.setFrameShadow(QtGui.QFrame.Sunken)
# self.ImageLine.setObjectName("ImageLine")
# self.ImageToolbarLayout.addWidget(self.ImageLine)
# self.ImageLiveItem = QtGui.QToolButton(self.ImageToolbar)
# self.ImageLiveItem.setIcon(icon5)
# self.ImageLiveItem.setIconSize(QtCore.QSize(20, 20))
# self.ImageLiveItem.setAutoRaise(True)
# self.ImageLiveItem.setObjectName("ImageLiveItem")
# self.ImageToolbarLayout.addWidget(self.ImageLiveItem)
# self.ImageAddItem = QtGui.QToolButton(self.ImageToolbar)
# self.ImageAddItem.setIcon(icon6)
# self.ImageAddItem.setIconSize(QtCore.QSize(20, 20))
# self.ImageAddItem.setAutoRaise(True)
# self.ImageAddItem.setObjectName("ImageAddItem")
# self.ImageToolbarLayout.addWidget(self.ImageAddItem)
# spacerItem6 = QtGui.QSpacerItem(105, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
# self.ImageToolbarLayout.addItem(spacerItem6)
# self.ImagesLayout.addWidget(self.ImageToolbar)
# self.ImageListView = QtGui.QListWidget(self.ImagePage)
# self.ImageListView.setObjectName("ImageListView")
# self.ImagesLayout.addWidget(self.ImageListView)
# icon19 = QtGui.QIcon()
# icon19.addPixmap(QtGui.QPixmap(":/media/media_image.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# self.MediaToolBox.addItem(self.ImagePage, icon19, "")
# self.SongNewItem.setText(QtGui.QApplication.translate("main_window", "New Song", None, QtGui.QApplication.UnicodeUTF8))
# self.SongEditItem.setText(QtGui.QApplication.translate("main_window", "Edit Song", None, QtGui.QApplication.UnicodeUTF8))
# self.SongDeleteItem.setText(QtGui.QApplication.translate("main_window", "Delete Song", None, QtGui.QApplication.UnicodeUTF8))
# self.SongPreviewItem.setText(QtGui.QApplication.translate("main_window", "Send to Preview", None, QtGui.QApplication.UnicodeUTF8))
# self.SongLiveItem.setText(QtGui.QApplication.translate("main_window", "Send to Live", None, QtGui.QApplication.UnicodeUTF8))
# self.SongAddItem.setText(QtGui.QApplication.translate("main_window", "Add to Service", None, QtGui.QApplication.UnicodeUTF8))
# self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.SongPage), QtGui.QApplication.translate("main_window", "Songs", None, QtGui.QApplication.UnicodeUTF8))
# self.VersePreviewItem.setText(QtGui.QApplication.translate("main_window", "Send to Preview", None, QtGui.QApplication.UnicodeUTF8))
# self.VerseLiveItem.setText(QtGui.QApplication.translate("main_window", "Send to Live", None, QtGui.QApplication.UnicodeUTF8))
# self.VerseAddItem.setText(QtGui.QApplication.translate("main_window", "Add to Service", None, QtGui.QApplication.UnicodeUTF8))
# self.label.setText(QtGui.QApplication.translate("main_window", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
# self.label_2.setText(QtGui.QApplication.translate("main_window", "TextLabel", None, QtGui.QApplication.UnicodeUTF8))
# self.pushButton.setText(QtGui.QApplication.translate("main_window", "Search", None, QtGui.QApplication.UnicodeUTF8))
# self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.VersePage), QtGui.QApplication.translate("main_window", "Bible Verses", None, QtGui.QApplication.UnicodeUTF8))
# self.CustomNewButton.setText(QtGui.QApplication.translate("main_window", "New Custom Slide", None, QtGui.QApplication.UnicodeUTF8))
# self.CustomEditButton.setText(QtGui.QApplication.translate("main_window", "Edit Custom Slide", None, QtGui.QApplication.UnicodeUTF8))
# self.CustomDeleteButton.setText(QtGui.QApplication.translate("main_window", "Delete Custom Slide", None, QtGui.QApplication.UnicodeUTF8))
# self.CustomPreviewButton.setText(QtGui.QApplication.translate("main_window", "Preview Custom Slide", None, QtGui.QApplication.UnicodeUTF8))
# self.CustomLiveButton.setText(QtGui.QApplication.translate("main_window", "Send Live", None, QtGui.QApplication.UnicodeUTF8))
# self.CustomAddButton.setText(QtGui.QApplication.translate("main_window", "Add To Service", None, QtGui.QApplication.UnicodeUTF8))
# self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.CustomSlidePage), QtGui.QApplication.translate("main_window", "Custom Slides", None, QtGui.QApplication.UnicodeUTF8))
# self.PresentationLoadItem.setToolTip(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
# self.PresentationLoadItem.setStatusTip(QtGui.QApplication.translate("main_window", "Load a video", None, QtGui.QApplication.UnicodeUTF8))
# self.PresentationLoadItem.setText(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
# self.PresentationDeleteItem.setToolTip(QtGui.QApplication.translate("main_window", "Remove Video", None, QtGui.QApplication.UnicodeUTF8))
# self.PresentationDeleteItem.setText(QtGui.QApplication.translate("main_window", "RI", None, QtGui.QApplication.UnicodeUTF8))
# self.PresentationLiveItem.setText(QtGui.QApplication.translate("main_window", "Send to Live", None, QtGui.QApplication.UnicodeUTF8))
# self.PresentationAddItem.setText(QtGui.QApplication.translate("main_window", "Add to Service", None, QtGui.QApplication.UnicodeUTF8))
# self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.PresentationPage), QtGui.QApplication.translate("main_window", "Presentations", None, QtGui.QApplication.UnicodeUTF8))
# self.VideoLoadItem.setToolTip(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
# self.VideoLoadItem.setStatusTip(QtGui.QApplication.translate("main_window", "Load a video", None, QtGui.QApplication.UnicodeUTF8))
# self.VideoLoadItem.setText(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
# self.VideoDeleteItem.setToolTip(QtGui.QApplication.translate("main_window", "Remove Video", None, QtGui.QApplication.UnicodeUTF8))
# self.VideoDeleteItem.setText(QtGui.QApplication.translate("main_window", "RI", None, QtGui.QApplication.UnicodeUTF8))
# self.VideoLiveItem.setToolTip(QtGui.QApplication.translate("main_window", "Go Live!", None, QtGui.QApplication.UnicodeUTF8))
# self.VideoAddItem.setToolTip(QtGui.QApplication.translate("main_window", "Add to Order of Service", None, QtGui.QApplication.UnicodeUTF8))
# self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.VideoPage), QtGui.QApplication.translate("main_window", "Videos", None, QtGui.QApplication.UnicodeUTF8))
# self.ImageLoadItem.setToolTip(QtGui.QApplication.translate("main_window", "Load Video", None, QtGui.QApplication.UnicodeUTF8))
# self.ImageLoadItem.setStatusTip(QtGui.QApplication.translate("main_window", "Load a video", None, QtGui.QApplication.UnicodeUTF8))
# self.ImageLoadItem.setText(QtGui.QApplication.translate("main_window", "Load Image", None, QtGui.QApplication.UnicodeUTF8))
# self.ImageDeleteItem.setToolTip(QtGui.QApplication.translate("main_window", "Remove Video", None, QtGui.QApplication.UnicodeUTF8))
# self.ImageDeleteItem.setText(QtGui.QApplication.translate("main_window", "Delete Image", None, QtGui.QApplication.UnicodeUTF8))
# self.ImageLiveItem.setToolTip(QtGui.QApplication.translate("main_window", "Go Live!", None, QtGui.QApplication.UnicodeUTF8))
# self.ImageAddItem.setToolTip(QtGui.QApplication.translate("main_window", "Add to Order of Service", None, QtGui.QApplication.UnicodeUTF8))
# self.MediaToolBox.setItemText(self.MediaToolBox.indexOf(self.ImagePage), QtGui.QApplication.translate("main_window", "Images", None, QtGui.QApplication.UnicodeUTF8))

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4
""" """
OpenLP - Open Source Lyrics Projection OpenLP - Open Source Lyrics Projection
Copyright (c) 2008 Raoul Snyman Copyright (c) 2008 Raoul Snyman
@ -18,16 +18,9 @@ this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA Place, Suite 330, Boston, MA 02111-1307 USA
""" """
# Form implementation generated from reading ui file 'openlp/resources/forms/self.splash_screen.ui'
#
# Created: Mon Nov 3 20:17:05 2008
# by: PyQt4 UI code generator 4.4.3
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui from PyQt4 import QtCore, QtGui
from openlp.resources import * from openlp.core.resources import *
class SplashScreen(object): class SplashScreen(object):
def __init__(self): def __init__(self):