forked from openlp/openlp
clean ups
This commit is contained in:
parent
ff2dc95123
commit
54e1b8d9b7
@ -125,6 +125,9 @@ class SongExportForm(OpenLPWizard):
|
||||
self.selectionLayout.setSpacing(0)
|
||||
self.selectionLayout.setMargin(0)
|
||||
self.selectionLayout.setObjectName(u'selectionLayout')
|
||||
spacerItem = QtGui.QSpacerItem(20, 0,
|
||||
QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding)
|
||||
self.selectionLayout.addItem(spacerItem)
|
||||
self.addSelected = QtGui.QToolButton(self.selectionWidget)
|
||||
icon = QtGui.QIcon()
|
||||
icon.addPixmap(QtGui.QPixmap(
|
||||
@ -143,6 +146,9 @@ class SongExportForm(OpenLPWizard):
|
||||
self.removeSelected.setIconSize(QtCore.QSize(20, 20))
|
||||
self.removeSelected.setObjectName(u'removeSelected')
|
||||
self.selectionLayout.addWidget(self.removeSelected)
|
||||
spacerItem = QtGui.QSpacerItem(20, 0,
|
||||
QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding)
|
||||
self.selectionLayout.addItem(spacerItem)
|
||||
self.sourceLayout.addWidget(self.selectionWidget)
|
||||
self.selectedGroupBox = QtGui.QGroupBox(self.sourcePage)
|
||||
self.selectedGroupBox.setObjectName(u'selectedGroupBox')
|
||||
|
@ -274,8 +274,7 @@ class SongMediaItem(MediaManagerItem):
|
||||
def onExportClick(self):
|
||||
if not hasattr(self, u'export_wizard'):
|
||||
self.export_wizard = SongExportForm(self, self.parent)
|
||||
if self.export_wizard.exec_() == QtGui.QDialog.Accepted:
|
||||
Receiver.send_message(u'songs_load_list')
|
||||
self.export_wizard.exec_()
|
||||
|
||||
def onNewClick(self):
|
||||
log.debug(u'onNewClick')
|
||||
|
Loading…
Reference in New Issue
Block a user