# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'eric/PyUnit/UnittestDialog.ui'
#
# Created: Thu Feb 10 10:05:38 2011
#      by: PyQt4 UI code generator 4.8.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_UnittestDialog(object):
    def setupUi(self, UnittestDialog):
        UnittestDialog.setObjectName(_fromUtf8("UnittestDialog"))
        UnittestDialog.resize(619, 667)
        self._2 = QtGui.QVBoxLayout(UnittestDialog)
        self._2.setObjectName(_fromUtf8("_2"))
        self.groupBox = QtGui.QGroupBox(UnittestDialog)
        self.groupBox.setTitle(_fromUtf8(""))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self._4 = QtGui.QGridLayout(self.groupBox)
        self._4.setObjectName(_fromUtf8("_4"))
        self.testComboBox = QtGui.QComboBox(self.groupBox)
        self.testComboBox.setEditable(True)
        self.testComboBox.setObjectName(_fromUtf8("testComboBox"))
        self._4.addWidget(self.testComboBox, 1, 1, 1, 2)
        self.testsuiteComboBox = QtGui.QComboBox(self.groupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.testsuiteComboBox.sizePolicy().hasHeightForWidth())
        self.testsuiteComboBox.setSizePolicy(sizePolicy)
        self.testsuiteComboBox.setEditable(True)
        self.testsuiteComboBox.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.testsuiteComboBox.setAutoCompletion(True)
        self.testsuiteComboBox.setDuplicatesEnabled(False)
        self.testsuiteComboBox.setObjectName(_fromUtf8("testsuiteComboBox"))
        self._4.addWidget(self.testsuiteComboBox, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName(_fromUtf8("label"))
        self._4.addWidget(self.label, 1, 0, 1, 1)
        self.fileDialogButton = QtGui.QPushButton(self.groupBox)
        self.fileDialogButton.setObjectName(_fromUtf8("fileDialogButton"))
        self._4.addWidget(self.fileDialogButton, 0, 2, 1, 1)
        self.testsuiteLabel = QtGui.QLabel(self.groupBox)
        self.testsuiteLabel.setObjectName(_fromUtf8("testsuiteLabel"))
        self._4.addWidget(self.testsuiteLabel, 0, 0, 1, 1)
        self._2.addWidget(self.groupBox)
        self.optionsGroup = QtGui.QGroupBox(UnittestDialog)
        self.optionsGroup.setTitle(_fromUtf8(""))
        self.optionsGroup.setObjectName(_fromUtf8("optionsGroup"))
        self._5 = QtGui.QHBoxLayout(self.optionsGroup)
        self._5.setObjectName(_fromUtf8("_5"))
        self.localCheckBox = QtGui.QCheckBox(self.optionsGroup)
        self.localCheckBox.setObjectName(_fromUtf8("localCheckBox"))
        self._5.addWidget(self.localCheckBox)
        self.coverageCheckBox = QtGui.QCheckBox(self.optionsGroup)
        self.coverageCheckBox.setObjectName(_fromUtf8("coverageCheckBox"))
        self._5.addWidget(self.coverageCheckBox)
        self.coverageEraseCheckBox = QtGui.QCheckBox(self.optionsGroup)
        self.coverageEraseCheckBox.setEnabled(False)
        self.coverageEraseCheckBox.setObjectName(_fromUtf8("coverageEraseCheckBox"))
        self._5.addWidget(self.coverageEraseCheckBox)
        self._2.addWidget(self.optionsGroup)
        self.progressGroupBox = QtGui.QGroupBox(UnittestDialog)
        self.progressGroupBox.setTitle(_fromUtf8(""))
        self.progressGroupBox.setObjectName(_fromUtf8("progressGroupBox"))
        self._6 = QtGui.QVBoxLayout(self.progressGroupBox)
        self._6.setObjectName(_fromUtf8("_6"))
        self._8 = QtGui.QHBoxLayout()
        self._8.setObjectName(_fromUtf8("_8"))
        self.progressTextLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressTextLabel.setObjectName(_fromUtf8("progressTextLabel"))
        self._8.addWidget(self.progressTextLabel)
        spacerItem = QtGui.QSpacerItem(371, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._8.addItem(spacerItem)
        self.progressLed = E4Led(self.progressGroupBox)
        self.progressLed.setObjectName(_fromUtf8("progressLed"))
        self._8.addWidget(self.progressLed)
        self._6.addLayout(self._8)
        self.progressProgressBar = QtGui.QProgressBar(self.progressGroupBox)
        self.progressProgressBar.setProperty(_fromUtf8("value"), 0)
        self.progressProgressBar.setOrientation(QtCore.Qt.Horizontal)
        self.progressProgressBar.setObjectName(_fromUtf8("progressProgressBar"))
        self._6.addWidget(self.progressProgressBar)
        self._7 = QtGui.QHBoxLayout()
        self._7.setObjectName(_fromUtf8("_7"))
        self.progressCounterRunLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRunLabel.setObjectName(_fromUtf8("progressCounterRunLabel"))
        self._7.addWidget(self.progressCounterRunLabel)
        self.progressCounterRunCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRunCount.setObjectName(_fromUtf8("progressCounterRunCount"))
        self._7.addWidget(self.progressCounterRunCount)
        self.progressCounterFailureLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterFailureLabel.setObjectName(_fromUtf8("progressCounterFailureLabel"))
        self._7.addWidget(self.progressCounterFailureLabel)
        self.progressCounterFailureCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterFailureCount.setObjectName(_fromUtf8("progressCounterFailureCount"))
        self._7.addWidget(self.progressCounterFailureCount)
        self.progressCounterErrorLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterErrorLabel.setObjectName(_fromUtf8("progressCounterErrorLabel"))
        self._7.addWidget(self.progressCounterErrorLabel)
        self.progressCounterErrorCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterErrorCount.setObjectName(_fromUtf8("progressCounterErrorCount"))
        self._7.addWidget(self.progressCounterErrorCount)
        self.progressCounterRemLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRemLabel.setObjectName(_fromUtf8("progressCounterRemLabel"))
        self._7.addWidget(self.progressCounterRemLabel)
        self.progressCounterRemCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRemCount.setObjectName(_fromUtf8("progressCounterRemCount"))
        self._7.addWidget(self.progressCounterRemCount)
        spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._7.addItem(spacerItem1)
        self._6.addLayout(self._7)
        self._2.addWidget(self.progressGroupBox)
        self.textLabel1 = QtGui.QLabel(UnittestDialog)
        self.textLabel1.setObjectName(_fromUtf8("textLabel1"))
        self._2.addWidget(self.textLabel1)
        self.testsListWidget = QtGui.QListWidget(UnittestDialog)
        self.testsListWidget.setObjectName(_fromUtf8("testsListWidget"))
        self._2.addWidget(self.testsListWidget)
        self.listboxLabel = QtGui.QLabel(UnittestDialog)
        self.listboxLabel.setObjectName(_fromUtf8("listboxLabel"))
        self._2.addWidget(self.listboxLabel)
        self.errorsListWidget = QtGui.QListWidget(UnittestDialog)
        self.errorsListWidget.setObjectName(_fromUtf8("errorsListWidget"))
        self._2.addWidget(self.errorsListWidget)
        self.buttonBox = QtGui.QDialogButtonBox(UnittestDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self._2.addWidget(self.buttonBox)
        self._3 = QtGui.QHBoxLayout()
        self._3.setObjectName(_fromUtf8("_3"))
        self.sbLabel = QtGui.QLabel(UnittestDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sbLabel.sizePolicy().hasHeightForWidth())
        self.sbLabel.setSizePolicy(sizePolicy)
        self.sbLabel.setObjectName(_fromUtf8("sbLabel"))
        self._3.addWidget(self.sbLabel)
        spacerItem2 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._3.addItem(spacerItem2)
        self._2.addLayout(self._3)
        self.label.setBuddy(self.testComboBox)
        self.testsuiteLabel.setBuddy(self.testsuiteComboBox)

        self.retranslateUi(UnittestDialog)
        QtCore.QObject.connect(self.coverageCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.coverageEraseCheckBox.setEnabled)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), UnittestDialog.close)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), UnittestDialog.close)
        QtCore.QMetaObject.connectSlotsByName(UnittestDialog)
        UnittestDialog.setTabOrder(self.testsuiteComboBox, self.fileDialogButton)
        UnittestDialog.setTabOrder(self.fileDialogButton, self.testComboBox)
        UnittestDialog.setTabOrder(self.testComboBox, self.localCheckBox)
        UnittestDialog.setTabOrder(self.localCheckBox, self.coverageCheckBox)
        UnittestDialog.setTabOrder(self.coverageCheckBox, self.coverageEraseCheckBox)
        UnittestDialog.setTabOrder(self.coverageEraseCheckBox, self.testsListWidget)
        UnittestDialog.setTabOrder(self.testsListWidget, self.errorsListWidget)

    def retranslateUi(self, UnittestDialog):
        UnittestDialog.setWindowTitle(QtGui.QApplication.translate("UnittestDialog", "Unittest", None, QtGui.QApplication.UnicodeUTF8))
        self.testComboBox.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Enter the test name. Leave empty to use the default name \"suite\".", None, QtGui.QApplication.UnicodeUTF8))
        self.testComboBox.setWhatsThis(QtGui.QApplication.translate("UnittestDialog", "<b>Testname</b><p>Enter the name of the test to be performed. This name must follow the rules given by Python\'s unittest module. If this field is empty, the default name of \"suite\" will be used.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.testsuiteComboBox.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Enter name of file defining the testsuite", None, QtGui.QApplication.UnicodeUTF8))
        self.testsuiteComboBox.setWhatsThis(QtGui.QApplication.translate("UnittestDialog", "<b>Testsuite</b>\n"
"<p>Enter the name of the file defining the testsuite.\n"
"It should have a method with a name given below. If no name is given, the suite() method will be tried. If no such method can be\n"
"found, the module will be inspected for proper test\n"
"cases.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("UnittestDialog", "Enter &test name:", None, QtGui.QApplication.UnicodeUTF8))
        self.fileDialogButton.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Open a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.fileDialogButton.setText(QtGui.QApplication.translate("UnittestDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.testsuiteLabel.setText(QtGui.QApplication.translate("UnittestDialog", "Enter test &filename:", None, QtGui.QApplication.UnicodeUTF8))
        self.localCheckBox.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Select whether you want to run the test locally", None, QtGui.QApplication.UnicodeUTF8))
        self.localCheckBox.setText(QtGui.QApplication.translate("UnittestDialog", "Run &local", None, QtGui.QApplication.UnicodeUTF8))
        self.coverageCheckBox.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Select whether coverage data should be collected", None, QtGui.QApplication.UnicodeUTF8))
        self.coverageCheckBox.setText(QtGui.QApplication.translate("UnittestDialog", "C&ollect coverage data", None, QtGui.QApplication.UnicodeUTF8))
        self.coverageEraseCheckBox.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Select whether old coverage data should be erased", None, QtGui.QApplication.UnicodeUTF8))
        self.coverageEraseCheckBox.setText(QtGui.QApplication.translate("UnittestDialog", "&Erase coverage data", None, QtGui.QApplication.UnicodeUTF8))
        self.progressTextLabel.setText(QtGui.QApplication.translate("UnittestDialog", "Progress:", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterRunLabel.setText(QtGui.QApplication.translate("UnittestDialog", "Run:", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterRunCount.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Number of tests run", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterRunCount.setText(QtGui.QApplication.translate("UnittestDialog", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterFailureLabel.setText(QtGui.QApplication.translate("UnittestDialog", "Failures:", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterFailureCount.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Number of test failures", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterFailureCount.setText(QtGui.QApplication.translate("UnittestDialog", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterErrorLabel.setText(QtGui.QApplication.translate("UnittestDialog", "Errors:", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterErrorCount.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Number of test errors", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterErrorCount.setText(QtGui.QApplication.translate("UnittestDialog", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterRemLabel.setText(QtGui.QApplication.translate("UnittestDialog", "Remaining:", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterRemCount.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Number of tests to be run", None, QtGui.QApplication.UnicodeUTF8))
        self.progressCounterRemCount.setText(QtGui.QApplication.translate("UnittestDialog", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("UnittestDialog", "Tests performed:", None, QtGui.QApplication.UnicodeUTF8))
        self.listboxLabel.setText(QtGui.QApplication.translate("UnittestDialog", "Failures and errors:", None, QtGui.QApplication.UnicodeUTF8))
        self.errorsListWidget.setToolTip(QtGui.QApplication.translate("UnittestDialog", "Failures and Errors list", None, QtGui.QApplication.UnicodeUTF8))
        self.errorsListWidget.setWhatsThis(QtGui.QApplication.translate("UnittestDialog", "<b>Failures and Errors list</b>\n"
"<p>This list shows all failed and errored tests.\n"
"Double clicking on an entry will show the respective traceback.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.sbLabel.setText(QtGui.QApplication.translate("UnittestDialog", "Idle", None, QtGui.QApplication.UnicodeUTF8))

from E4Gui.E4Led import E4Led
