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

# Form implementation generated from reading ui file 'eric/Debugger/StartProfileDialog.ui'
#
# Created by: PyQt5 UI code generator 5.10
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_StartProfileDialog(object):
    def setupUi(self, StartProfileDialog):
        StartProfileDialog.setObjectName("StartProfileDialog")
        StartProfileDialog.resize(488, 185)
        StartProfileDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtWidgets.QVBoxLayout(StartProfileDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.TextLabel2_2 = QtWidgets.QLabel(StartProfileDialog)
        self.TextLabel2_2.setObjectName("TextLabel2_2")
        self.gridLayout.addWidget(self.TextLabel2_2, 0, 0, 1, 1)
        self.interpreterPicker = E5ComboPathPicker(StartProfileDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.interpreterPicker.sizePolicy().hasHeightForWidth())
        self.interpreterPicker.setSizePolicy(sizePolicy)
        self.interpreterPicker.setFocusPolicy(QtCore.Qt.WheelFocus)
        self.interpreterPicker.setObjectName("interpreterPicker")
        self.gridLayout.addWidget(self.interpreterPicker, 0, 1, 1, 1)
        self.TextLabel1 = QtWidgets.QLabel(StartProfileDialog)
        self.TextLabel1.setObjectName("TextLabel1")
        self.gridLayout.addWidget(self.TextLabel1, 1, 0, 1, 1)
        self.cmdlineCombo = QtWidgets.QComboBox(StartProfileDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cmdlineCombo.sizePolicy().hasHeightForWidth())
        self.cmdlineCombo.setSizePolicy(sizePolicy)
        self.cmdlineCombo.setEditable(True)
        self.cmdlineCombo.setInsertPolicy(QtWidgets.QComboBox.InsertAtTop)
        self.cmdlineCombo.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLengthWithIcon)
        self.cmdlineCombo.setDuplicatesEnabled(False)
        self.cmdlineCombo.setObjectName("cmdlineCombo")
        self.gridLayout.addWidget(self.cmdlineCombo, 1, 1, 1, 1)
        self.TextLabel2 = QtWidgets.QLabel(StartProfileDialog)
        self.TextLabel2.setObjectName("TextLabel2")
        self.gridLayout.addWidget(self.TextLabel2, 2, 0, 1, 1)
        self.workdirPicker = E5ComboPathPicker(StartProfileDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.workdirPicker.sizePolicy().hasHeightForWidth())
        self.workdirPicker.setSizePolicy(sizePolicy)
        self.workdirPicker.setFocusPolicy(QtCore.Qt.WheelFocus)
        self.workdirPicker.setObjectName("workdirPicker")
        self.gridLayout.addWidget(self.workdirPicker, 2, 1, 1, 1)
        self.textLabel1 = QtWidgets.QLabel(StartProfileDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridLayout.addWidget(self.textLabel1, 3, 0, 1, 1)
        self.environmentCombo = QtWidgets.QComboBox(StartProfileDialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.environmentCombo.sizePolicy().hasHeightForWidth())
        self.environmentCombo.setSizePolicy(sizePolicy)
        self.environmentCombo.setEditable(True)
        self.environmentCombo.setInsertPolicy(QtWidgets.QComboBox.InsertAtTop)
        self.environmentCombo.setSizeAdjustPolicy(QtWidgets.QComboBox.AdjustToMinimumContentsLengthWithIcon)
        self.environmentCombo.setDuplicatesEnabled(False)
        self.environmentCombo.setObjectName("environmentCombo")
        self.gridLayout.addWidget(self.environmentCombo, 3, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.exceptionCheckBox = QtWidgets.QCheckBox(StartProfileDialog)
        self.exceptionCheckBox.setChecked(True)
        self.exceptionCheckBox.setObjectName("exceptionCheckBox")
        self.gridLayout_2.addWidget(self.exceptionCheckBox, 0, 0, 1, 1)
        self.clearShellCheckBox = QtWidgets.QCheckBox(StartProfileDialog)
        self.clearShellCheckBox.setChecked(True)
        self.clearShellCheckBox.setObjectName("clearShellCheckBox")
        self.gridLayout_2.addWidget(self.clearShellCheckBox, 0, 1, 1, 1)
        self.consoleCheckBox = QtWidgets.QCheckBox(StartProfileDialog)
        self.consoleCheckBox.setObjectName("consoleCheckBox")
        self.gridLayout_2.addWidget(self.consoleCheckBox, 1, 0, 1, 1)
        self.eraseCheckBox = QtWidgets.QCheckBox(StartProfileDialog)
        self.eraseCheckBox.setObjectName("eraseCheckBox")
        self.gridLayout_2.addWidget(self.eraseCheckBox, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_2)
        self.buttonBox = QtWidgets.QDialogButtonBox(StartProfileDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)
        self.TextLabel2_2.setBuddy(self.workdirPicker)
        self.TextLabel1.setBuddy(self.cmdlineCombo)
        self.TextLabel2.setBuddy(self.workdirPicker)
        self.textLabel1.setBuddy(self.environmentCombo)

        self.retranslateUi(StartProfileDialog)
        self.buttonBox.accepted.connect(StartProfileDialog.accept)
        self.buttonBox.rejected.connect(StartProfileDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(StartProfileDialog)
        StartProfileDialog.setTabOrder(self.interpreterPicker, self.cmdlineCombo)
        StartProfileDialog.setTabOrder(self.cmdlineCombo, self.workdirPicker)
        StartProfileDialog.setTabOrder(self.workdirPicker, self.environmentCombo)
        StartProfileDialog.setTabOrder(self.environmentCombo, self.exceptionCheckBox)
        StartProfileDialog.setTabOrder(self.exceptionCheckBox, self.clearShellCheckBox)
        StartProfileDialog.setTabOrder(self.clearShellCheckBox, self.consoleCheckBox)
        StartProfileDialog.setTabOrder(self.consoleCheckBox, self.eraseCheckBox)

    def retranslateUi(self, StartProfileDialog):
        _translate = QtCore.QCoreApplication.translate
        StartProfileDialog.setWindowTitle(_translate("StartProfileDialog", "Start profiling"))
        self.TextLabel2_2.setText(_translate("StartProfileDialog", "Interpreter:"))
        self.interpreterPicker.setToolTip(_translate("StartProfileDialog", "Enter the interpreter to be used"))
        self.interpreterPicker.setWhatsThis(_translate("StartProfileDialog", "<b>Interpreter</b>\n"
"<p>Enter the interpreter to be used. Leave it empty to use the default interprter, i.e. the one configured globally or per project.</p>"))
        self.TextLabel1.setText(_translate("StartProfileDialog", "Command&line:"))
        self.cmdlineCombo.setToolTip(_translate("StartProfileDialog", "Enter the commandline parameters"))
        self.cmdlineCombo.setWhatsThis(_translate("StartProfileDialog", "<b>Commandline</b>\n"
"<p>Enter the commandline parameters in this field.</p>"))
        self.TextLabel2.setText(_translate("StartProfileDialog", "&Working directory:"))
        self.workdirPicker.setToolTip(_translate("StartProfileDialog", "Enter the working directory"))
        self.workdirPicker.setWhatsThis(_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>"))
        self.textLabel1.setText(_translate("StartProfileDialog", "&Environment:"))
        self.environmentCombo.setToolTip(_translate("StartProfileDialog", "Enter the environment variables to be set."))
        self.environmentCombo.setWhatsThis(_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>"))
        self.exceptionCheckBox.setToolTip(_translate("StartProfileDialog", "Uncheck to disable exception reporting"))
        self.exceptionCheckBox.setWhatsThis(_translate("StartProfileDialog", "<b>Report exceptions</b>\n"
"<p>Uncheck this in order to disable exception reporting.</p>"))
        self.exceptionCheckBox.setText(_translate("StartProfileDialog", "Report &exceptions"))
        self.exceptionCheckBox.setShortcut(_translate("StartProfileDialog", "Alt+E"))
        self.clearShellCheckBox.setToolTip(_translate("StartProfileDialog", "Select to clear the display of the interpreter window"))
        self.clearShellCheckBox.setWhatsThis(_translate("StartProfileDialog", "<b>Clear interpreter window</b><p>This clears the display of the interpreter window before starting the debug client.</p>"))
        self.clearShellCheckBox.setText(_translate("StartProfileDialog", "Clear &interpreter window"))
        self.consoleCheckBox.setToolTip(_translate("StartProfileDialog", "Select to start the debugger in a console window"))
        self.consoleCheckBox.setWhatsThis(_translate("StartProfileDialog", "<b>Start in console</b>\n"
"<p>Select to start the debugger in a console window. The console command has to be configured on the Debugger-&gt;General page</p>"))
        self.consoleCheckBox.setText(_translate("StartProfileDialog", "Start in console"))
        self.eraseCheckBox.setToolTip(_translate("StartProfileDialog", "Select this to erase the collected timing data"))
        self.eraseCheckBox.setWhatsThis(_translate("StartProfileDialog", "<b>Erase timing data</b>\n"
"<p>Select this to erase the collected timing data before the next profiling run.</p>"))
        self.eraseCheckBox.setText(_translate("StartProfileDialog", "Erase &timing data"))
        self.eraseCheckBox.setShortcut(_translate("StartProfileDialog", "Alt+C"))

from E5Gui.E5PathPicker import E5ComboPathPicker
