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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Debugger/StartRunDialog.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_StartRunDialog(object):
    def setupUi(self, StartRunDialog):
        StartRunDialog.setObjectName("StartRunDialog")
        StartRunDialog.resize(QtCore.QSize(QtCore.QRect(0,0,488,156).size()).expandedTo(StartRunDialog.minimumSizeHint()))
        StartRunDialog.setSizeGripEnabled(True)

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

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

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

        self.cmdlineCombo = QtGui.QComboBox(StartRunDialog)

        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(StartRunDialog)
        self.TextLabel2.setObjectName("TextLabel2")
        self.gridlayout.addWidget(self.TextLabel2,1,0,1,1)

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

        self.workdirCombo = QtGui.QComboBox(StartRunDialog)

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

        self.environmentCombo = QtGui.QComboBox(StartRunDialog)

        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.exceptionCheckBox = QtGui.QCheckBox(StartRunDialog)
        self.exceptionCheckBox.setChecked(True)
        self.exceptionCheckBox.setObjectName("exceptionCheckBox")
        self.gridlayout.addWidget(self.exceptionCheckBox,3,0,1,2)

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

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

    def retranslateUi(self, StartRunDialog):
        StartRunDialog.setWindowTitle(QtGui.QApplication.translate("StartRunDialog", "Start running", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("StartRunDialog", "Command&line:", None, QtGui.QApplication.UnicodeUTF8))
        self.cmdlineCombo.setToolTip(QtGui.QApplication.translate("StartRunDialog", "Enter the commandline parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.cmdlineCombo.setWhatsThis(QtGui.QApplication.translate("StartRunDialog", "<b>Commandline</b>\n"
        "<p>Enter the commandline parameters in this field.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2.setText(QtGui.QApplication.translate("StartRunDialog", "&Working directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setToolTip(QtGui.QApplication.translate("StartRunDialog", "Select directory using a directory selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.dirButton.setWhatsThis(QtGui.QApplication.translate("StartRunDialog", "<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("StartRunDialog", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setToolTip(QtGui.QApplication.translate("StartRunDialog", "Enter the working directory", None, QtGui.QApplication.UnicodeUTF8))
        self.workdirCombo.setWhatsThis(QtGui.QApplication.translate("StartRunDialog", "<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("StartRunDialog", "&Environment:", None, QtGui.QApplication.UnicodeUTF8))
        self.environmentCombo.setToolTip(QtGui.QApplication.translate("StartRunDialog", "Enter the environment variables to be set.", None, QtGui.QApplication.UnicodeUTF8))
        self.environmentCombo.setWhatsThis(QtGui.QApplication.translate("StartRunDialog", "<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.exceptionCheckBox.setToolTip(QtGui.QApplication.translate("StartRunDialog", "Uncheck to disable exception reporting", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setWhatsThis(QtGui.QApplication.translate("StartRunDialog", "<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("StartRunDialog", "Report &exceptions", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionCheckBox.setShortcut(QtGui.QApplication.translate("StartRunDialog", "Alt+E", None, QtGui.QApplication.UnicodeUTF8))
        self.clearShellCheckBox.setToolTip(QtGui.QApplication.translate("StartRunDialog", "Select to clear the display of the interpreter window", None, QtGui.QApplication.UnicodeUTF8))
        self.clearShellCheckBox.setWhatsThis(QtGui.QApplication.translate("StartRunDialog", "<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("StartRunDialog", "Clear &interpreter window", None, QtGui.QApplication.UnicodeUTF8))



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