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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Debugger/StartDebugDialog.ui'
#
# Created: Sat Feb  3 15:33:32 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_StartDebugDialog(object):
    def setupUi(self, StartDebugDialog):
        StartDebugDialog.setObjectName("StartDebugDialog")
        StartDebugDialog.resize(QtCore.QSize(QtCore.QRect(0,0,488,174).size()).expandedTo(StartDebugDialog.minimumSizeHint()))
        StartDebugDialog.setSizeGripEnabled(True)

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

        self.buttonBox = QtGui.QDialogButtonBox(StartDebugDialog)
        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,5,0,1,4)

        self.environmentCombo = QtGui.QComboBox(StartDebugDialog)

        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.textLabel1 = QtGui.QLabel(StartDebugDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,2,0,1,1)

        self.workdirCombo = QtGui.QComboBox(StartDebugDialog)

        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.dirButton = QtGui.QPushButton(StartDebugDialog)
        self.dirButton.setObjectName("dirButton")
        self.gridlayout.addWidget(self.dirButton,1,3,1,1)

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

        self.cmdlineCombo = QtGui.QComboBox(StartDebugDialog)

        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.TextLabel1 = QtGui.QLabel(StartDebugDialog)
        self.TextLabel1.setObjectName("TextLabel1")
        self.gridlayout.addWidget(self.TextLabel1,0,0,1,1)

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

        self.tracePythonCheckBox = QtGui.QCheckBox(StartDebugDialog)
        self.tracePythonCheckBox.setObjectName("tracePythonCheckBox")
        self.gridlayout.addWidget(self.tracePythonCheckBox,4,0,1,2)

        self.clearShellCheckBox = QtGui.QCheckBox(StartDebugDialog)
        self.clearShellCheckBox.setChecked(True)
        self.clearShellCheckBox.setObjectName("clearShellCheckBox")
        self.gridlayout.addWidget(self.clearShellCheckBox,3,2,1,2)

        self.autoContinueCheckBox = QtGui.QCheckBox(StartDebugDialog)
        self.autoContinueCheckBox.setChecked(True)
        self.autoContinueCheckBox.setObjectName("autoContinueCheckBox")
        self.gridlayout.addWidget(self.autoContinueCheckBox,4,2,1,2)
        self.textLabel1.setBuddy(self.environmentCombo)
        self.TextLabel2.setBuddy(self.workdirCombo)
        self.TextLabel1.setBuddy(self.cmdlineCombo)

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

    def retranslateUi(self, StartDebugDialog):
        StartDebugDialog.setWindowTitle(QtGui.QApplication.translate("StartDebugDialog", "Start debugging", None, QtGui.QApplication.UnicodeUTF8))
        self.environmentCombo.setToolTip(QtGui.QApplication.translate("StartDebugDialog", "Enter the environment variables to be set.", None, QtGui.QApplication.UnicodeUTF8))
        self.environmentCombo.setWhatsThis(QtGui.QApplication.translate("StartDebugDialog", "<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.textLabel1.setText(QtGui.QApplication.translate("StartDebugDialog", "&Environment:", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setToolTip(QtGui.QApplication.translate("StartDebugDialog", "Enter the working directory", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setWhatsThis(QtGui.QApplication.translate("StartDebugDialog", "<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.dirButton.setToolTip(QtGui.QApplication.translate("StartDebugDialog", "Select directory using a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setWhatsThis(QtGui.QApplication.translate("StartDebugDialog", "<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("StartDebugDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("StartDebugDialog", "&Working directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmdlineCombo.setToolTip(QtGui.QApplication.translate("StartDebugDialog", "Enter the commandline parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.cmdlineCombo.setWhatsThis(QtGui.QApplication.translate("StartDebugDialog", "<b>Commandline</b>\n"
        "<p>Enter the commandline parameters in this field.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("StartDebugDialog", "Command&line:", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setToolTip(QtGui.QApplication.translate("StartDebugDialog", "Uncheck to disable exception reporting", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setWhatsThis(QtGui.QApplication.translate("StartDebugDialog", "<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("StartDebugDialog", "Report &exceptions", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setShortcut(QtGui.QApplication.translate("StartDebugDialog", "Alt+E", None, QtGui.QApplication.UnicodeUTF8))
        self.tracePythonCheckBox.setToolTip(QtGui.QApplication.translate("StartDebugDialog", "Select to trace into the Python library", None, QtGui.QApplication.UnicodeUTF8))
        self.tracePythonCheckBox.setText(QtGui.QApplication.translate("StartDebugDialog", "&Trace into interpreter libraries", None, QtGui.QApplication.UnicodeUTF8))
        self.tracePythonCheckBox.setShortcut(QtGui.QApplication.translate("StartDebugDialog", "Alt+T", None, QtGui.QApplication.UnicodeUTF8))
        self.clearShellCheckBox.setToolTip(QtGui.QApplication.translate("StartDebugDialog", "Select to clear the display of the interpreter window", None, QtGui.QApplication.UnicodeUTF8))
        self.clearShellCheckBox.setWhatsThis(QtGui.QApplication.translate("StartDebugDialog", "<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("StartDebugDialog", "Clear &interpreter window", None, QtGui.QApplication.UnicodeUTF8))
        self.autoContinueCheckBox.setToolTip(QtGui.QApplication.translate("StartDebugDialog", "Select to not stop the debugger at the first executable line.", None, QtGui.QApplication.UnicodeUTF8))
        self.autoContinueCheckBox.setWhatsThis(QtGui.QApplication.translate("StartDebugDialog", "<b>Don\'t stop at first line</b><p>This prevents the debugger from stopping at the first executable line.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.autoContinueCheckBox.setText(QtGui.QApplication.translate("StartDebugDialog", "Don\'t stop at first line", None, QtGui.QApplication.UnicodeUTF8))



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