forked from openlp/openlp
ServiceItemEditDialog naming
This commit is contained in:
parent
468ab12ffc
commit
c2ee4e842b
@ -28,10 +28,10 @@ from PyQt4 import QtCore, QtGui
|
|||||||
from openlp.core.lib import translate
|
from openlp.core.lib import translate
|
||||||
|
|
||||||
class Ui_ServiceItemEditDialog(object):
|
class Ui_ServiceItemEditDialog(object):
|
||||||
def setupUi(self, ServiceItemEditDialog):
|
def setupUi(self, serviceItemEditDialog):
|
||||||
ServiceItemEditDialog.setObjectName(u'ServiceItemEditDialog')
|
serviceItemEditDialog.setObjectName(u'serviceItemEditDialog')
|
||||||
ServiceItemEditDialog.resize(386, 272)
|
serviceItemEditDialog.resize(386, 272)
|
||||||
self.layoutWidget = QtGui.QWidget(ServiceItemEditDialog)
|
self.layoutWidget = QtGui.QWidget(serviceItemEditDialog)
|
||||||
self.layoutWidget.setGeometry(QtCore.QRect(20, 20, 351, 241))
|
self.layoutWidget.setGeometry(QtCore.QRect(20, 20, 351, 241))
|
||||||
self.layoutWidget.setObjectName(u'layoutWidget')
|
self.layoutWidget.setObjectName(u'layoutWidget')
|
||||||
self.outerLayout = QtGui.QVBoxLayout(self.layoutWidget)
|
self.outerLayout = QtGui.QVBoxLayout(self.layoutWidget)
|
||||||
@ -47,8 +47,8 @@ class Ui_ServiceItemEditDialog(object):
|
|||||||
self.upButton = QtGui.QPushButton(self.layoutWidget)
|
self.upButton = QtGui.QPushButton(self.layoutWidget)
|
||||||
self.upButton.setObjectName(u'upButton')
|
self.upButton.setObjectName(u'upButton')
|
||||||
self.buttonLayout.addWidget(self.upButton)
|
self.buttonLayout.addWidget(self.upButton)
|
||||||
spacerItem = QtGui.QSpacerItem(20, 40,
|
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
|
||||||
QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
|
QtGui.QSizePolicy.Expanding)
|
||||||
self.buttonLayout.addItem(spacerItem)
|
self.buttonLayout.addItem(spacerItem)
|
||||||
self.deleteButton = QtGui.QPushButton(self.layoutWidget)
|
self.deleteButton = QtGui.QPushButton(self.layoutWidget)
|
||||||
self.deleteButton.setObjectName(u'deleteButton')
|
self.deleteButton.setObjectName(u'deleteButton')
|
||||||
@ -59,16 +59,16 @@ class Ui_ServiceItemEditDialog(object):
|
|||||||
self.topLayout.addLayout(self.buttonLayout)
|
self.topLayout.addLayout(self.buttonLayout)
|
||||||
self.outerLayout.addLayout(self.topLayout)
|
self.outerLayout.addLayout(self.topLayout)
|
||||||
self.buttonBox = QtGui.QDialogButtonBox(self.layoutWidget)
|
self.buttonBox = QtGui.QDialogButtonBox(self.layoutWidget)
|
||||||
self.buttonBox.setStandardButtons(
|
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel |
|
||||||
QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Save)
|
QtGui.QDialogButtonBox.Save)
|
||||||
self.buttonBox.setObjectName(u'buttonBox')
|
self.buttonBox.setObjectName(u'buttonBox')
|
||||||
self.outerLayout.addWidget(self.buttonBox)
|
self.outerLayout.addWidget(self.buttonBox)
|
||||||
|
|
||||||
self.retranslateUi(ServiceItemEditDialog)
|
self.retranslateUi(serviceItemEditDialog)
|
||||||
QtCore.QMetaObject.connectSlotsByName(ServiceItemEditDialog)
|
QtCore.QMetaObject.connectSlotsByName(serviceItemEditDialog)
|
||||||
|
|
||||||
def retranslateUi(self, ServiceItemEditDialog):
|
def retranslateUi(self, serviceItemEditDialog):
|
||||||
ServiceItemEditDialog.setWindowTitle(
|
serviceItemEditDialog.setWindowTitle(
|
||||||
translate('OpenLP.ServiceItemEditForm', 'Reorder Service Item'))
|
translate('OpenLP.ServiceItemEditForm', 'Reorder Service Item'))
|
||||||
self.upButton.setText(translate('OpenLP.ServiceItemEditForm', 'Up'))
|
self.upButton.setText(translate('OpenLP.ServiceItemEditForm', 'Up'))
|
||||||
self.deleteButton.setText(translate('OpenLP.ServiceItemEditForm',
|
self.deleteButton.setText(translate('OpenLP.ServiceItemEditForm',
|
||||||
|
Loading…
Reference in New Issue
Block a user