forked from openlp/openlp
Add in maintenance page to service manager
This commit is contained in:
parent
72d2d8f83d
commit
ff8145cef1
@ -107,6 +107,7 @@ class ServiceManager(QtGui.QWidget):
|
||||
#will replace the currently selected one.
|
||||
self.remoteEditTriggered = False
|
||||
self.serviceNoteForm = ServiceNoteForm()
|
||||
self.serviceItemEditForm = ServiceItemEditForm()
|
||||
#start with the layout
|
||||
self.Layout = QtGui.QVBoxLayout(self)
|
||||
self.Layout.setSpacing(0)
|
||||
@ -243,6 +244,8 @@ class ServiceManager(QtGui.QWidget):
|
||||
action = self.menu.exec_(self.ServiceManagerList.mapToGlobal(point))
|
||||
if action == self.editAction:
|
||||
self.remoteEdit()
|
||||
if action == self.maintainAction:
|
||||
self.onServiceItemEditForm()
|
||||
if action == self.deleteAction:
|
||||
self.onDeleteFromService()
|
||||
if action == self.notesAction:
|
||||
@ -264,6 +267,12 @@ class ServiceManager(QtGui.QWidget):
|
||||
self.serviceNoteForm.textEdit.toPlainText()
|
||||
self.repaintServiceList(item, 0)
|
||||
|
||||
def onServiceItemEditForm(self):
|
||||
item, count = self.findServiceItem()
|
||||
if self.serviceItemEditForm.exec_():
|
||||
pass
|
||||
|
||||
|
||||
def nextItem(self):
|
||||
"""
|
||||
Called by the SlideController to select the
|
||||
|
Loading…
Reference in New Issue
Block a user