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

# Form implementation generated from reading ui file 'eric/PyUnit/UnittestDialog.ui'
#
# Created: Sun Jan 18 22:19:53 2015
#      by: PyQt4 UI code generator 4.11.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_UnittestDialog(object):
    def setupUi(self, UnittestDialog):
        UnittestDialog.setObjectName(_fromUtf8("UnittestDialog"))
        UnittestDialog.resize(650, 700)
        self.verticalLayout_2 = QtGui.QVBoxLayout(UnittestDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_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.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.testsuiteLabel = QtGui.QLabel(self.groupBox)
        self.testsuiteLabel.setObjectName(_fromUtf8("testsuiteLabel"))
        self._4.addWidget(self.testsuiteLabel, 0, 0, 1, 1)
        self.fileDialogButton = QtGui.QToolButton(self.groupBox)
        self.fileDialogButton.setObjectName(_fromUtf8("fileDialogButton"))
        self._4.addWidget(self.fileDialogButton, 0, 2, 1, 1)
        self.verticalLayout_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.verticalLayout_2.addWidget(self.optionsGroup)
        self.progressGroupBox = QtGui.QGroupBox(UnittestDialog)
        self.progressGroupBox.setTitle(_fromUtf8(""))
        self.progressGroupBox.setObjectName(_fromUtf8("progressGroupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.progressGroupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        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 = E5Led(self.progressGroupBox)
        self.progressLed.setObjectName(_fromUtf8("progressLed"))
        self._8.addWidget(self.progressLed)
        self.verticalLayout.addLayout(self._8)
        self.progressProgressBar = QtGui.QProgressBar(self.progressGroupBox)
        self.progressProgressBar.setProperty("value", 0)
        self.progressProgressBar.setOrientation(QtCore.Qt.Horizontal)
        self.progressProgressBar.setObjectName(_fromUtf8("progressProgressBar"))
        self.verticalLayout.addWidget(self.progressProgressBar)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.progressCounterRunLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRunLabel.setObjectName(_fromUtf8("progressCounterRunLabel"))
        self.horizontalLayout_2.addWidget(self.progressCounterRunLabel)
        self.progressCounterRunCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRunCount.setText(_fromUtf8("0"))
        self.progressCounterRunCount.setObjectName(_fromUtf8("progressCounterRunCount"))
        self.horizontalLayout_2.addWidget(self.progressCounterRunCount)
        self.progressCounterRemLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRemLabel.setObjectName(_fromUtf8("progressCounterRemLabel"))
        self.horizontalLayout_2.addWidget(self.progressCounterRemLabel)
        self.progressCounterRemCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRemCount.setText(_fromUtf8("0"))
        self.progressCounterRemCount.setObjectName(_fromUtf8("progressCounterRemCount"))
        self.horizontalLayout_2.addWidget(self.progressCounterRemCount)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.progressCounterFailureLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterFailureLabel.setObjectName(_fromUtf8("progressCounterFailureLabel"))
        self.horizontalLayout.addWidget(self.progressCounterFailureLabel)
        self.progressCounterFailureCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterFailureCount.setText(_fromUtf8("0"))
        self.progressCounterFailureCount.setObjectName(_fromUtf8("progressCounterFailureCount"))
        self.horizontalLayout.addWidget(self.progressCounterFailureCount)
        self.progressCounterErrorLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterErrorLabel.setObjectName(_fromUtf8("progressCounterErrorLabel"))
        self.horizontalLayout.addWidget(self.progressCounterErrorLabel)
        self.progressCounterErrorCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterErrorCount.setText(_fromUtf8("0"))
        self.progressCounterErrorCount.setObjectName(_fromUtf8("progressCounterErrorCount"))
        self.horizontalLayout.addWidget(self.progressCounterErrorCount)
        self.progressCounterSkippedLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterSkippedLabel.setObjectName(_fromUtf8("progressCounterSkippedLabel"))
        self.horizontalLayout.addWidget(self.progressCounterSkippedLabel)
        self.progressCounterSkippedCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterSkippedCount.setText(_fromUtf8("0"))
        self.progressCounterSkippedCount.setObjectName(_fromUtf8("progressCounterSkippedCount"))
        self.horizontalLayout.addWidget(self.progressCounterSkippedCount)
        self.progressCounterExpectedFailureLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterExpectedFailureLabel.setObjectName(_fromUtf8("progressCounterExpectedFailureLabel"))
        self.horizontalLayout.addWidget(self.progressCounterExpectedFailureLabel)
        self.progressCounterExpectedFailureCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterExpectedFailureCount.setText(_fromUtf8("0"))
        self.progressCounterExpectedFailureCount.setObjectName(_fromUtf8("progressCounterExpectedFailureCount"))
        self.horizontalLayout.addWidget(self.progressCounterExpectedFailureCount)
        self.progressCounterUnexpectedSuccessLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterUnexpectedSuccessLabel.setObjectName(_fromUtf8("progressCounterUnexpectedSuccessLabel"))
        self.horizontalLayout.addWidget(self.progressCounterUnexpectedSuccessLabel)
        self.progressCounterUnexpectedSuccessCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterUnexpectedSuccessCount.setText(_fromUtf8("0"))
        self.progressCounterUnexpectedSuccessCount.setObjectName(_fromUtf8("progressCounterUnexpectedSuccessCount"))
        self.horizontalLayout.addWidget(self.progressCounterUnexpectedSuccessCount)
        spacerItem2 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_2.addWidget(self.progressGroupBox)
        self.textLabel1 = QtGui.QLabel(UnittestDialog)
        self.textLabel1.setObjectName(_fromUtf8("textLabel1"))
        self.verticalLayout_2.addWidget(self.textLabel1)
        self.testsListWidget = QtGui.QListWidget(UnittestDialog)
        self.testsListWidget.setObjectName(_fromUtf8("testsListWidget"))
        self.verticalLayout_2.addWidget(self.testsListWidget)
        self.listboxLabel = QtGui.QLabel(UnittestDialog)
        self.listboxLabel.setObjectName(_fromUtf8("listboxLabel"))
        self.verticalLayout_2.addWidget(self.listboxLabel)
        self.errorsListWidget = QtGui.QListWidget(UnittestDialog)
        self.errorsListWidget.setObjectName(_fromUtf8("errorsListWidget"))
        self.verticalLayout_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.verticalLayout_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)
        spacerItem3 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self._3.addItem(spacerItem3)
        self.verticalLayout_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(_translate("UnittestDialog", "Unittest", None))
        self.testComboBox.setToolTip(_translate("UnittestDialog", "Enter the test name. Leave empty to use the default name \"suite\".", None))
        self.testComboBox.setWhatsThis(_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))
        self.testsuiteComboBox.setToolTip(_translate("UnittestDialog", "Enter name of file defining the testsuite", None))
        self.testsuiteComboBox.setWhatsThis(_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))
        self.label.setText(_translate("UnittestDialog", "Enter &test name:", None))
        self.testsuiteLabel.setText(_translate("UnittestDialog", "Enter test &filename:", None))
        self.fileDialogButton.setToolTip(_translate("UnittestDialog", "Open a file selection dialog", None))
        self.localCheckBox.setToolTip(_translate("UnittestDialog", "Select whether you want to run the test locally", None))
        self.localCheckBox.setText(_translate("UnittestDialog", "Run &local", None))
        self.coverageCheckBox.setToolTip(_translate("UnittestDialog", "Select whether coverage data should be collected", None))
        self.coverageCheckBox.setText(_translate("UnittestDialog", "C&ollect coverage data", None))
        self.coverageEraseCheckBox.setToolTip(_translate("UnittestDialog", "Select whether old coverage data should be erased", None))
        self.coverageEraseCheckBox.setText(_translate("UnittestDialog", "&Erase coverage data", None))
        self.progressTextLabel.setText(_translate("UnittestDialog", "Progress:", None))
        self.progressProgressBar.setFormat(_translate("UnittestDialog", "%v/%m Tests", None))
        self.progressCounterRunLabel.setText(_translate("UnittestDialog", "Run:", None))
        self.progressCounterRunCount.setToolTip(_translate("UnittestDialog", "Number of tests run", None))
        self.progressCounterRemLabel.setText(_translate("UnittestDialog", "Remaining:", None))
        self.progressCounterRemCount.setToolTip(_translate("UnittestDialog", "Number of tests to be run", None))
        self.progressCounterFailureLabel.setText(_translate("UnittestDialog", "Failures:", None))
        self.progressCounterFailureCount.setToolTip(_translate("UnittestDialog", "Number of test failures", None))
        self.progressCounterErrorLabel.setText(_translate("UnittestDialog", "Errors:", None))
        self.progressCounterErrorCount.setToolTip(_translate("UnittestDialog", "Number of test errors", None))
        self.progressCounterSkippedLabel.setText(_translate("UnittestDialog", "Skipped:", None))
        self.progressCounterSkippedCount.setToolTip(_translate("UnittestDialog", "Number of tests skipped", None))
        self.progressCounterExpectedFailureLabel.setText(_translate("UnittestDialog", "Expected Failures:", None))
        self.progressCounterExpectedFailureCount.setToolTip(_translate("UnittestDialog", "Number of tests with expected failure", None))
        self.progressCounterUnexpectedSuccessLabel.setText(_translate("UnittestDialog", "Unexpected Successes:", None))
        self.progressCounterUnexpectedSuccessCount.setToolTip(_translate("UnittestDialog", "Number of tests with unexpected success", None))
        self.textLabel1.setText(_translate("UnittestDialog", "Tests performed:", None))
        self.listboxLabel.setText(_translate("UnittestDialog", "Failures and errors:", None))
        self.errorsListWidget.setToolTip(_translate("UnittestDialog", "Failures and Errors list", None))
        self.errorsListWidget.setWhatsThis(_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))
        self.sbLabel.setText(_translate("UnittestDialog", "Idle", None))

from E5Gui.E5Led import E5Led
