70 lines
3.8 KiB
Python
70 lines
3.8 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'newsubscriptiondialog.ui'
|
|
#
|
|
# Created: Sat Nov 30 21:53:38 2013
|
|
# by: PyQt4 UI code generator 4.10.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
try:
|
|
_fromUtf8 = QtCore.QString.fromUtf8
|
|
except AttributeError:
|
|
def _fromUtf8(s):
|
|
return s
|
|
|
|
try:
|
|
_encoding = QtGui.QApplication.UnicodeUTF8
|
|
def _translate(context, text, disambig):
|
|
return QtGui.QApplication.translate(context, text, disambig, _encoding)
|
|
except AttributeError:
|
|
def _translate(context, text, disambig):
|
|
return QtGui.QApplication.translate(context, text, disambig)
|
|
|
|
class Ui_NewSubscriptionDialog(object):
|
|
def setupUi(self, NewSubscriptionDialog):
|
|
NewSubscriptionDialog.setObjectName(_fromUtf8("NewSubscriptionDialog"))
|
|
NewSubscriptionDialog.resize(368, 173)
|
|
self.formLayout = QtGui.QFormLayout(NewSubscriptionDialog)
|
|
self.formLayout.setObjectName(_fromUtf8("formLayout"))
|
|
self.label_2 = QtGui.QLabel(NewSubscriptionDialog)
|
|
self.label_2.setObjectName(_fromUtf8("label_2"))
|
|
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
|
|
self.newsubscriptionlabel = QtGui.QLineEdit(NewSubscriptionDialog)
|
|
self.newsubscriptionlabel.setObjectName(_fromUtf8("newsubscriptionlabel"))
|
|
self.formLayout.setWidget(1, QtGui.QFormLayout.SpanningRole, self.newsubscriptionlabel)
|
|
self.label = QtGui.QLabel(NewSubscriptionDialog)
|
|
self.label.setObjectName(_fromUtf8("label"))
|
|
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label)
|
|
self.lineEditSubscriptionAddress = QtGui.QLineEdit(NewSubscriptionDialog)
|
|
self.lineEditSubscriptionAddress.setObjectName(_fromUtf8("lineEditSubscriptionAddress"))
|
|
self.formLayout.setWidget(3, QtGui.QFormLayout.SpanningRole, self.lineEditSubscriptionAddress)
|
|
self.labelAddressCheck = QtGui.QLabel(NewSubscriptionDialog)
|
|
self.labelAddressCheck.setText(_fromUtf8(""))
|
|
self.labelAddressCheck.setWordWrap(True)
|
|
self.labelAddressCheck.setObjectName(_fromUtf8("labelAddressCheck"))
|
|
self.formLayout.setWidget(4, QtGui.QFormLayout.SpanningRole, self.labelAddressCheck)
|
|
self.checkBoxDisplayMessagesAlreadyInInventory = QtGui.QCheckBox(NewSubscriptionDialog)
|
|
self.checkBoxDisplayMessagesAlreadyInInventory.setEnabled(False)
|
|
self.checkBoxDisplayMessagesAlreadyInInventory.setObjectName(_fromUtf8("checkBoxDisplayMessagesAlreadyInInventory"))
|
|
self.formLayout.setWidget(5, QtGui.QFormLayout.SpanningRole, self.checkBoxDisplayMessagesAlreadyInInventory)
|
|
self.buttonBox = QtGui.QDialogButtonBox(NewSubscriptionDialog)
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
|
|
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
|
|
self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.buttonBox)
|
|
|
|
self.retranslateUi(NewSubscriptionDialog)
|
|
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), NewSubscriptionDialog.accept)
|
|
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), NewSubscriptionDialog.reject)
|
|
QtCore.QMetaObject.connectSlotsByName(NewSubscriptionDialog)
|
|
|
|
def retranslateUi(self, NewSubscriptionDialog):
|
|
NewSubscriptionDialog.setWindowTitle(_translate("NewSubscriptionDialog", "Add new entry", None))
|
|
self.label_2.setText(_translate("NewSubscriptionDialog", "Label", None))
|
|
self.label.setText(_translate("NewSubscriptionDialog", "Address", None))
|
|
self.checkBoxDisplayMessagesAlreadyInInventory.setText(_translate("NewSubscriptionDialog", "Enter an address above.", None))
|
|
|