forked from openlp/openlp
Removed some of the song plugin related cruft from the bottom of the main window.
bzr-revno: 241
This commit is contained in:
parent
f2a715e124
commit
e9be0e92e4
@ -497,87 +497,6 @@ class MainWindow(object):
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user