|
|
|
@ -1,6 +1,5 @@
|
|
|
|
|
#!/usr/bin/env pythonw
|
|
|
|
|
# -*- 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
|
|
|
|
|
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
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
# 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 PyQt4 import QtCore, QtGui
|
|
|
|
|
|
|
|
|
|
from openlp.ui.forms.about import AboutForm
|
|
|
|
|
from openlp.ui.forms.alertform import AlertForm
|
|
|
|
|
from openlp.ui.forms.editsongform import EditSongForm
|
|
|
|
|
from openlp.ui.forms.openlpexportform import OpenLPExportForm
|
|
|
|
|
from openlp.ui.forms.openlpimportform import OpenLPImportForm
|
|
|
|
|
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 *
|
|
|
|
|
from openlp.core.resources import *
|
|
|
|
|
from openlp.core.ui.about import AboutForm
|
|
|
|
|
from openlp.core.ui.alertform import AlertForm
|
|
|
|
|
from openlp.core.ui.settings import SettingsDialog
|
|
|
|
|
from openlp.core import Plugin, PluginManager, MediaManagerItem, SettingsTab
|
|
|
|
|
|
|
|
|
|
class MainWindow(object):
|
|
|
|
|
|
|
|
|
@ -48,12 +34,13 @@ class MainWindow(object):
|
|
|
|
|
self.setupUi()
|
|
|
|
|
self.about_form = AboutForm()
|
|
|
|
|
self.alert_form = AlertForm()
|
|
|
|
|
self.edit_song_form = EditSongForm()
|
|
|
|
|
self.openlpexportform = OpenLPExportForm()
|
|
|
|
|
self.openlpimportform = OpenLPImportForm()
|
|
|
|
|
self.opensongexportform = OpenSongExportForm()
|
|
|
|
|
self.opensongimportform = OpenSongImportForm()
|
|
|
|
|
#self.edit_song_form = EditSongForm()
|
|
|
|
|
#self.openlpexportform = OpenLPExportForm()
|
|
|
|
|
#self.openlpimportform = OpenLPImportForm()
|
|
|
|
|
#self.opensongexportform = OpenSongExportForm()
|
|
|
|
|
#self.opensongimportform = OpenSongImportForm()
|
|
|
|
|
self.settings_form = SettingsDialog()
|
|
|
|
|
self.plugin_manager = PluginManager()
|
|
|
|
|
|
|
|
|
|
def setupUi(self):
|
|
|
|
|
self.main_window.setObjectName("main_window")
|
|
|
|
@ -177,395 +164,6 @@ class MainWindow(object):
|
|
|
|
|
self.MediaToolBox.setObjectName("MediaToolBox")
|
|
|
|
|
# This is where we will eventually get the Plugin Manager to pull in
|
|
|
|
|
# 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.MediaManagerDock.setWidget(self.MediaManagerContents)
|
|
|
|
|
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.ToolsAlertItem, QtCore.SIGNAL("triggered()"), self.onToolsAlertItemClicked)
|
|
|
|
|
QtCore.QObject.connect(self.OptionsSettingsItem, QtCore.SIGNAL("triggered()"), self.onOptionsSettingsItemClicked)
|
|
|
|
|
QtCore.QObject.connect(self.SongEditItem, QtCore.SIGNAL("clicked()"), self.onSongEditItemClicked)
|
|
|
|
|
QtCore.QObject.connect(self.ImportOpenlp1Item, QtCore.SIGNAL("triggered()"), self.onImportOpenlp1ItemClicked)
|
|
|
|
|
QtCore.QObject.connect(self.ExportOpenlp1Item, QtCore.SIGNAL("triggered()"), self.onExportOpenlp1ItemClicked)
|
|
|
|
|
QtCore.QObject.connect(self.ImportOpenSongItem, QtCore.SIGNAL("triggered()"), self.onImportOpenSongItemClicked)
|
|
|
|
|
QtCore.QObject.connect(self.ExportOpenSongItem, QtCore.SIGNAL("triggered()"), self.onExportOpenSongItemClicked)
|
|
|
|
|
#QtCore.QObject.connect(self.SongEditItem, QtCore.SIGNAL("clicked()"), self.onSongEditItemClicked)
|
|
|
|
|
#QtCore.QObject.connect(self.ImportOpenlp1Item, QtCore.SIGNAL("triggered()"), self.onImportOpenlp1ItemClicked)
|
|
|
|
|
#QtCore.QObject.connect(self.ExportOpenlp1Item, QtCore.SIGNAL("triggered()"), self.onExportOpenlp1ItemClicked)
|
|
|
|
|
#QtCore.QObject.connect(self.ImportOpenSongItem, QtCore.SIGNAL("triggered()"), self.onImportOpenSongItemClicked)
|
|
|
|
|
#QtCore.QObject.connect(self.ExportOpenSongItem, QtCore.SIGNAL("triggered()"), self.onExportOpenSongItemClicked)
|
|
|
|
|
|
|
|
|
|
def retranslateUi(self):
|
|
|
|
|
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.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.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.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))
|
|
|
|
@ -1049,20 +602,455 @@ class MainWindow(object):
|
|
|
|
|
def onToolsAlertItemClicked(self):
|
|
|
|
|
self.alert_form.show()
|
|
|
|
|
|
|
|
|
|
def onSongEditItemClicked(self):
|
|
|
|
|
self.edit_song_form.show()
|
|
|
|
|
#def onSongEditItemClicked(self):
|
|
|
|
|
# self.edit_song_form.show()
|
|
|
|
|
|
|
|
|
|
def onExportOpenlp1ItemClicked(self):
|
|
|
|
|
self.openlpexportform.show()
|
|
|
|
|
#def onExportOpenlp1ItemClicked(self):
|
|
|
|
|
# self.openlpexportform.show()
|
|
|
|
|
|
|
|
|
|
def onImportOpenlp1ItemClicked(self):
|
|
|
|
|
self.openlpimportform.show()
|
|
|
|
|
#def onImportOpenlp1ItemClicked(self):
|
|
|
|
|
# self.openlpimportform.show()
|
|
|
|
|
|
|
|
|
|
def onExportOpenSongItemClicked(self):
|
|
|
|
|
self.opensongexportform.show()
|
|
|
|
|
#def onExportOpenSongItemClicked(self):
|
|
|
|
|
# self.opensongexportform.show()
|
|
|
|
|
|
|
|
|
|
def onImportOpenSongItemClicked(self):
|
|
|
|
|
self.opensongimportform.show()
|
|
|
|
|
#def onImportOpenSongItemClicked(self):
|
|
|
|
|
# self.opensongimportform.show()
|
|
|
|
|
|
|
|
|
|
def onOptionsSettingsItemClicked(self):
|
|
|
|
|
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))
|
|
|
|
|