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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Debugger/StartCoverageDialog.ui'
#
# Created: Sat Feb  3 15:33:33 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_StartCoverageDialog(object):
    def setupUi(self, StartCoverageDialog):
        StartCoverageDialog.setObjectName("StartCoverageDialog")
        StartCoverageDialog.resize(QtCore.QSize(QtCore.QRect(0,0,488,201).size()).expandedTo(StartCoverageDialog.minimumSizeHint()))
        StartCoverageDialog.setSizeGripEnabled(True)

        self.gridlayout = QtGui.QGridLayout(StartCoverageDialog)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.buttonBox = QtGui.QDialogButtonBox(StartCoverageDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,6,0,1,4)

        self.covexcCombo = QtGui.QComboBox(StartCoverageDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.covexcCombo.sizePolicy().hasHeightForWidth())
        self.covexcCombo.setSizePolicy(sizePolicy)
        self.covexcCombo.setEditable(True)
        self.covexcCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.covexcCombo.setAutoCompletion(True)
        self.covexcCombo.setDuplicatesEnabled(False)
        self.covexcCombo.setObjectName("covexcCombo")
        self.gridlayout.addWidget(self.covexcCombo,4,1,1,3)

        self.TextLabel1 = QtGui.QLabel(StartCoverageDialog)
        self.TextLabel1.setObjectName("TextLabel1")
        self.gridlayout.addWidget(self.TextLabel1,0,0,1,1)

        self.cmdlineCombo = QtGui.QComboBox(StartCoverageDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmdlineCombo.sizePolicy().hasHeightForWidth())
        self.cmdlineCombo.setSizePolicy(sizePolicy)
        self.cmdlineCombo.setEditable(True)
        self.cmdlineCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.cmdlineCombo.setAutoCompletion(True)
        self.cmdlineCombo.setDuplicatesEnabled(False)
        self.cmdlineCombo.setObjectName("cmdlineCombo")
        self.gridlayout.addWidget(self.cmdlineCombo,0,1,1,3)

        self.TextLabel2 = QtGui.QLabel(StartCoverageDialog)
        self.TextLabel2.setObjectName("TextLabel2")
        self.gridlayout.addWidget(self.TextLabel2,1,0,1,1)

        self.dirButton = QtGui.QPushButton(StartCoverageDialog)
        self.dirButton.setObjectName("dirButton")
        self.gridlayout.addWidget(self.dirButton,1,3,1,1)

        self.workdirCombo = QtGui.QComboBox(StartCoverageDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.workdirCombo.sizePolicy().hasHeightForWidth())
        self.workdirCombo.setSizePolicy(sizePolicy)
        self.workdirCombo.setEditable(True)
        self.workdirCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.workdirCombo.setAutoCompletion(True)
        self.workdirCombo.setDuplicatesEnabled(False)
        self.workdirCombo.setObjectName("workdirCombo")
        self.gridlayout.addWidget(self.workdirCombo,1,1,1,2)

        self.textLabel1 = QtGui.QLabel(StartCoverageDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,2,0,1,1)

        self.environmentCombo = QtGui.QComboBox(StartCoverageDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.environmentCombo.sizePolicy().hasHeightForWidth())
        self.environmentCombo.setSizePolicy(sizePolicy)
        self.environmentCombo.setEditable(True)
        self.environmentCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.environmentCombo.setAutoCompletion(True)
        self.environmentCombo.setDuplicatesEnabled(False)
        self.environmentCombo.setObjectName("environmentCombo")
        self.gridlayout.addWidget(self.environmentCombo,2,1,1,3)

        self.eraseCheckBox = QtGui.QCheckBox(StartCoverageDialog)
        self.eraseCheckBox.setObjectName("eraseCheckBox")
        self.gridlayout.addWidget(self.eraseCheckBox,5,0,1,4)

        self.textLabel1_2 = QtGui.QLabel(StartCoverageDialog)
        self.textLabel1_2.setObjectName("textLabel1_2")
        self.gridlayout.addWidget(self.textLabel1_2,4,0,1,1)

        self.exceptionCheckBox = QtGui.QCheckBox(StartCoverageDialog)
        self.exceptionCheckBox.setChecked(True)
        self.exceptionCheckBox.setObjectName("exceptionCheckBox")
        self.gridlayout.addWidget(self.exceptionCheckBox,3,0,1,2)

        self.clearShellCheckBox = QtGui.QCheckBox(StartCoverageDialog)
        self.clearShellCheckBox.setChecked(True)
        self.clearShellCheckBox.setObjectName("clearShellCheckBox")
        self.gridlayout.addWidget(self.clearShellCheckBox,3,2,1,1)
        self.TextLabel1.setBuddy(self.cmdlineCombo)
        self.TextLabel2.setBuddy(self.workdirCombo)
        self.textLabel1.setBuddy(self.environmentCombo)
        self.textLabel1_2.setBuddy(self.covexcCombo)

        self.retranslateUi(StartCoverageDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),StartCoverageDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),StartCoverageDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(StartCoverageDialog)
        StartCoverageDialog.setTabOrder(self.cmdlineCombo,self.workdirCombo)
        StartCoverageDialog.setTabOrder(self.workdirCombo,self.dirButton)
        StartCoverageDialog.setTabOrder(self.dirButton,self.environmentCombo)
        StartCoverageDialog.setTabOrder(self.environmentCombo,self.exceptionCheckBox)
        StartCoverageDialog.setTabOrder(self.exceptionCheckBox,self.covexcCombo)
        StartCoverageDialog.setTabOrder(self.covexcCombo,self.eraseCheckBox)

    def retranslateUi(self, StartCoverageDialog):
        StartCoverageDialog.setWindowTitle(QtGui.QApplication.translate("StartCoverageDialog", "Start coverage run", None, QtGui.QApplication.UnicodeUTF8))
        self.covexcCombo.setToolTip(QtGui.QApplication.translate("StartCoverageDialog", "Enter a regexp pattern marking lines to exclude from coverage", None, QtGui.QApplication.UnicodeUTF8))
        self.covexcCombo.setWhatsThis(QtGui.QApplication.translate("StartCoverageDialog", "<b>Exclude pattern</b>\n"
        "<p>Enter a regular expression pattern. Lines matching this pattern are excluded from the coverage analysis. The default pattern is \'#pragma[: ]+[nN][oO] [cC][oO][vV][eE][rR]\'. If the pattern is found on a line containing the colon that introduces a suite of statements, the entire suite is excluded.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("StartCoverageDialog", "Command&line:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmdlineCombo.setToolTip(QtGui.QApplication.translate("StartCoverageDialog", "Enter the commandline parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.cmdlineCombo.setWhatsThis(QtGui.QApplication.translate("StartCoverageDialog", "<b>Commandline</b>\n"
        "<p>Enter the commandline parameters in this field.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("StartCoverageDialog", "&Working directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setToolTip(QtGui.QApplication.translate("StartCoverageDialog", "Select directory using a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setWhatsThis(QtGui.QApplication.translate("StartCoverageDialog", "<b>Select directory</b>\n"
        "<p>Select the working directory via a directory selection dialog.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setText(QtGui.QApplication.translate("StartCoverageDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setToolTip(QtGui.QApplication.translate("StartCoverageDialog", "Enter the working directory", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setWhatsThis(QtGui.QApplication.translate("StartCoverageDialog", "<b>Working directory</b>\n"
        "<p>Enter the working directory of the application to be debugged. Leave it empty to set the working directory to the executable directory.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("StartCoverageDialog", "&Environment:", None, QtGui.QApplication.UnicodeUTF8))
        self.environmentCombo.setToolTip(QtGui.QApplication.translate("StartCoverageDialog", "Enter the environment variables to be set.", None, QtGui.QApplication.UnicodeUTF8))
        self.environmentCombo.setWhatsThis(QtGui.QApplication.translate("StartCoverageDialog", "<b>Environment</b>\n"
        "<p>Enter the environment variables to be set for the program. The individual settings must be separated by whitespace and be given in the form \'var=value\'. In order to add to an environment variable, enter it in the form \'var+=value\'.</p>\n"
        "<p>Example: var1=1 var2=\"hello world\" var3+=\":/tmp\"</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.eraseCheckBox.setToolTip(QtGui.QApplication.translate("StartCoverageDialog", "Select this to erase the collected coverage information", None, QtGui.QApplication.UnicodeUTF8))
        self.eraseCheckBox.setWhatsThis(QtGui.QApplication.translate("StartCoverageDialog", "<b>Erase coverage information</b>\n"
        "<p>Select this to erase the collected coverage information before the next coverage run.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.eraseCheckBox.setText(QtGui.QApplication.translate("StartCoverageDialog", "Erase &coverage information", None, QtGui.QApplication.UnicodeUTF8))
        self.eraseCheckBox.setShortcut(QtGui.QApplication.translate("StartCoverageDialog", "Alt+C", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_2.setText(QtGui.QApplication.translate("StartCoverageDialog", "E&xclude pattern:", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setToolTip(QtGui.QApplication.translate("StartCoverageDialog", "Uncheck to disable exception reporting", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setWhatsThis(QtGui.QApplication.translate("StartCoverageDialog", "<b>Report exceptions</b>\n"
        "<p>Uncheck this in order to disable exception reporting.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setText(QtGui.QApplication.translate("StartCoverageDialog", "Report &exceptions", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setShortcut(QtGui.QApplication.translate("StartCoverageDialog", "Alt+E", None, QtGui.QApplication.UnicodeUTF8))
        self.clearShellCheckBox.setToolTip(QtGui.QApplication.translate("StartCoverageDialog", "Select to clear the display of the interpreter window", None, QtGui.QApplication.UnicodeUTF8))
        self.clearShellCheckBox.setWhatsThis(QtGui.QApplication.translate("StartCoverageDialog", "<b>Clear interpreter window</b><p>This clears the display of the interpreter window before starting the debug client.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.clearShellCheckBox.setText(QtGui.QApplication.translate("StartCoverageDialog", "Clear &interpreter window", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    StartCoverageDialog = QtGui.QDialog()
    ui = Ui_StartCoverageDialog()
    ui.setupUi(StartCoverageDialog)
    StartCoverageDialog.show()
    sys.exit(app.exec_())
