Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding: utf-8 -*-
- # Form implementation generated from reading ui file 'nosetests.ui'
- #
- # Created: Thu Jul 12 11:43:20 2012
- # by: PyQt4 UI code generator 4.9.1
- #
- # WARNING! All changes made in this file will be lost!
- from PyQt4 import QtCore, QtGui
- try:
- _fromUtf8 = QtCore.QString.fromUtf8
- except AttributeError:
- _fromUtf8 = lambda s: s
- class Ui_Dialog(object):
- def setupUi(self, Dialog):
- Dialog.setObjectName(_fromUtf8("Dialog"))
- Dialog.resize(400, 300)
- self.selectProcess = QtGui.QComboBox(Dialog)
- self.selectProcess.setGeometry(QtCore.QRect(30, 10, 241, 22))
- self.selectProcess.setObjectName(_fromUtf8("selectProcess"))
- self.selectProcess.addItem(_fromUtf8(""))
- self.selectTest = QtGui.QComboBox(Dialog)
- self.selectTest.setGeometry(QtCore.QRect(30, 40, 241, 22))
- self.selectTest.setObjectName(_fromUtf8("selectTest"))
- self.selectTest.addItem(_fromUtf8(""))
- self.testButton = QtGui.QPushButton(Dialog)
- self.testButton.setGeometry(QtCore.QRect(220, 250, 75, 23))
- self.testButton.setObjectName(_fromUtf8("testButton"))
- self.cancelButton = QtGui.QPushButton(Dialog)
- self.cancelButton.setGeometry(QtCore.QRect(300, 250, 75, 23))
- self.cancelButton.setObjectName(_fromUtf8("cancelButton"))
- self.errorMsg = QtGui.QLabel(Dialog)
- self.errorMsg.setGeometry(QtCore.QRect(20, 230, 351, 16))
- font = QtGui.QFont()
- font.setPointSize(10)
- font.setBold(True)
- font.setWeight(75)
- self.errorMsg.setFont(font)
- self.errorMsg.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
- self.errorMsg.setText(_fromUtf8(""))
- self.errorMsg.setObjectName(_fromUtf8("errorMsg"))
- self.label = QtGui.QLabel(Dialog)
- self.label.setGeometry(QtCore.QRect(30, 70, 51, 16))
- self.label.setObjectName(_fromUtf8("label"))
- self.gridLayoutWidget = QtGui.QWidget(Dialog)
- self.gridLayoutWidget.setGeometry(QtCore.QRect(30, 90, 341, 111))
- self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
- self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
- self.gridLayout.setMargin(0)
- self.gridLayout.setVerticalSpacing(6)
- self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
- self.pyDebugFails = QtGui.QCheckBox(self.gridLayoutWidget)
- self.pyDebugFails.setObjectName(_fromUtf8("pyDebugFails"))
- self.gridLayout.addWidget(self.pyDebugFails, 3, 0, 1, 1)
- self.verbose = QtGui.QCheckBox(self.gridLayoutWidget)
- self.verbose.setObjectName(_fromUtf8("verbose"))
- self.gridLayout.addWidget(self.verbose, 0, 0, 1, 1)
- self.pyDebug = QtGui.QCheckBox(self.gridLayoutWidget)
- self.pyDebug.setObjectName(_fromUtf8("pyDebug"))
- self.gridLayout.addWidget(self.pyDebug, 2, 0, 1, 1)
- self.doctest = QtGui.QCheckBox(self.gridLayoutWidget)
- self.doctest.setObjectName(_fromUtf8("doctest"))
- self.gridLayout.addWidget(self.doctest, 1, 0, 1, 1)
- self.retranslateUi(Dialog)
- QtCore.QMetaObject.connectSlotsByName(Dialog)
- def retranslateUi(self, Dialog):
- Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
- self.selectProcess.setItemText(0, QtGui.QApplication.translate("Dialog", "Select a process", None, QtGui.QApplication.UnicodeUTF8))
- self.selectTest.setItemText(0, QtGui.QApplication.translate("Dialog", "Select a test", None, QtGui.QApplication.UnicodeUTF8))
- self.testButton.setText(QtGui.QApplication.translate("Dialog", "Run Test", None, QtGui.QApplication.UnicodeUTF8))
- self.cancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
- self.label.setText(QtGui.QApplication.translate("Dialog", "Options:", None, QtGui.QApplication.UnicodeUTF8))
- self.pyDebugFails.setText(QtGui.QApplication.translate("Dialog", "Drop into debugger on failures", None, QtGui.QApplication.UnicodeUTF8))
- self.verbose.setText(QtGui.QApplication.translate("Dialog", "Verbose", None, QtGui.QApplication.UnicodeUTF8))
- self.pyDebug.setText(QtGui.QApplication.translate("Dialog", "Drop into debugger on errors", None, QtGui.QApplication.UnicodeUTF8))
- self.doctest.setText(QtGui.QApplication.translate("Dialog", "Enable Doctest", None, QtGui.QApplication.UnicodeUTF8))
- if __name__ == "__main__":
- import sys
- app = QtGui.QApplication(sys.argv)
- Dialog = QtGui.QDialog()
- ui = Ui_Dialog()
- ui.setupUi(Dialog)
- Dialog.show()
- sys.exit(app.exec_())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement