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

# Form implementation generated from reading ui file 'eric/PyUnit/UnittestDialog.ui'
#
# Created: Thu Jul  8 14:17:36 2010
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_UnittestDialog(object):
    def setupUi(self, UnittestDialog):
        UnittestDialog.setObjectName("UnittestDialog")
        UnittestDialog.resize(619, 667)
        self._2 = QtGui.QVBoxLayout(UnittestDialog)
        self._2.setObjectName("_2")
        self.groupBox = QtGui.QGroupBox(UnittestDialog)
        self.groupBox.setTitle("")
        self.groupBox.setObjectName("groupBox")
        self._4 = QtGui.QGridLayout(self.groupBox)
        self._4.setObjectName("_4")
        self.testComboBox = QtGui.QComboBox(self.groupBox)
        self.testComboBox.setEditable(True)
        self.testComboBox.setObjectName("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("testsuiteComboBox")
        self._4.addWidget(self.testsuiteComboBox, 0, 1, 1, 1)
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self._4.addWidget(self.label, 1, 0, 1, 1)
        self.fileDialogButton = QtGui.QPushButton(self.groupBox)
        self.fileDialogButton.setObjectName("fileDialogButton")
        self._4.addWidget(self.fileDialogButton, 0, 2, 1, 1)
        self.testsuiteLabel = QtGui.QLabel(self.groupBox)
        self.testsuiteLabel.setObjectName("testsuiteLabel")
        self._4.addWidget(self.testsuiteLabel, 0, 0, 1, 1)
        self._2.addWidget(self.groupBox)
        self.optionsGroup = QtGui.QGroupBox(UnittestDialog)
        self.optionsGroup.setTitle("")
        self.optionsGroup.setObjectName("optionsGroup")
        self._5 = QtGui.QHBoxLayout(self.optionsGroup)
        self._5.setObjectName("_5")
        self.localCheckBox = QtGui.QCheckBox(self.optionsGroup)
        self.localCheckBox.setObjectName("localCheckBox")
        self._5.addWidget(self.localCheckBox)
        self.coverageCheckBox = QtGui.QCheckBox(self.optionsGroup)
        self.coverageCheckBox.setObjectName("coverageCheckBox")
        self._5.addWidget(self.coverageCheckBox)
        self.coverageEraseCheckBox = QtGui.QCheckBox(self.optionsGroup)
        self.coverageEraseCheckBox.setEnabled(False)
        self.coverageEraseCheckBox.setObjectName("coverageEraseCheckBox")
        self._5.addWidget(self.coverageEraseCheckBox)
        self._2.addWidget(self.optionsGroup)
        self.progressGroupBox = QtGui.QGroupBox(UnittestDialog)
        self.progressGroupBox.setTitle("")
        self.progressGroupBox.setObjectName("progressGroupBox")
        self._6 = QtGui.QVBoxLayout(self.progressGroupBox)
        self._6.setObjectName("_6")
        self._8 = QtGui.QHBoxLayout()
        self._8.setObjectName("_8")
        self.progressTextLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressTextLabel.setObjectName("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("progressLed")
        self._8.addWidget(self.progressLed)
        self._6.addLayout(self._8)
        self.progressProgressBar = QtGui.QProgressBar(self.progressGroupBox)
        self.progressProgressBar.setProperty("value", 0)
        self.progressProgressBar.setOrientation(QtCore.Qt.Horizontal)
        self.progressProgressBar.setObjectName("progressProgressBar")
        self._6.addWidget(self.progressProgressBar)
        self._7 = QtGui.QHBoxLayout()
        self._7.setObjectName("_7")
        self.progressCounterRunLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRunLabel.setObjectName("progressCounterRunLabel")
        self._7.addWidget(self.progressCounterRunLabel)
        self.progressCounterRunCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRunCount.setObjectName("progressCounterRunCount")
        self._7.addWidget(self.progressCounterRunCount)
        self.progressCounterFailureLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterFailureLabel.setObjectName("progressCounterFailureLabel")
        self._7.addWidget(self.progressCounterFailureLabel)
        self.progressCounterFailureCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterFailureCount.setObjectName("progressCounterFailureCount")
        self._7.addWidget(self.progressCounterFailureCount)
        self.progressCounterErrorLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterErrorLabel.setObjectName("progressCounterErrorLabel")
        self._7.addWidget(self.progressCounterErrorLabel)
        self.progressCounterErrorCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterErrorCount.setObjectName("progressCounterErrorCount")
        self._7.addWidget(self.progressCounterErrorCount)
        self.progressCounterRemLabel = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRemLabel.setObjectName("progressCounterRemLabel")
        self._7.addWidget(self.progressCounterRemLabel)
        self.progressCounterRemCount = QtGui.QLabel(self.progressGroupBox)
        self.progressCounterRemCount.setObjectName("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("textLabel1")
        self._2.addWidget(self.textLabel1)
        self.testsListWidget = QtGui.QListWidget(UnittestDialog)
        self.testsListWidget.setObjectName("testsListWidget")
        self._2.addWidget(self.testsListWidget)
        self.listboxLabel = QtGui.QLabel(UnittestDialog)
        self.listboxLabel.setObjectName("listboxLabel")
        self._2.addWidget(self.listboxLabel)
        self.errorsListWidget = QtGui.QListWidget(UnittestDialog)
        self.errorsListWidget.setObjectName("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("buttonBox")
        self._2.addWidget(self.buttonBox)
        self._3 = QtGui.QHBoxLayout()
        self._3.setObjectName("_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("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("toggled(bool)"), self.coverageEraseCheckBox.setEnabled)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), UnittestDialog.close)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("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
