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

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

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

        self.buttonBox = QtGui.QDialogButtonBox(StartProfileDialog)
        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(StartProfileDialog)

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

        self.workdirCombo = QtGui.QComboBox(StartProfileDialog)

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

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

        self.cmdlineCombo = QtGui.QComboBox(StartProfileDialog)

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

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

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

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

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

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



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