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

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

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_DebuggerPythonPage(object):
    def setupUi(self, DebuggerPythonPage):
        DebuggerPythonPage.setObjectName("DebuggerPythonPage")
        DebuggerPythonPage.resize(455, 449)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(DebuggerPythonPage)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.headerLabel = QtWidgets.QLabel(DebuggerPythonPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout_2.addWidget(self.headerLabel)
        self.line11_2 = QtWidgets.QFrame(DebuggerPythonPage)
        self.line11_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line11_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line11_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line11_2.setObjectName("line11_2")
        self.verticalLayout_2.addWidget(self.line11_2)
        self.groupBox = QtWidgets.QGroupBox(DebuggerPythonPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout = QtWidgets.QGridLayout(self.groupBox)
        self.gridlayout.setObjectName("gridlayout")
        self.interpreterEdit = QtWidgets.QLineEdit(self.groupBox)
        self.interpreterEdit.setObjectName("interpreterEdit")
        self.gridlayout.addWidget(self.interpreterEdit, 0, 0, 1, 1)
        self.interpreterButton = QtWidgets.QToolButton(self.groupBox)
        self.interpreterButton.setObjectName("interpreterButton")
        self.gridlayout.addWidget(self.interpreterButton, 0, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(DebuggerPythonPage)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout1 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridlayout1.setObjectName("gridlayout1")
        self.hboxlayout = QtWidgets.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.debugClientEdit = QtWidgets.QLineEdit(self.groupBox_2)
        self.debugClientEdit.setEnabled(False)
        self.debugClientEdit.setObjectName("debugClientEdit")
        self.hboxlayout.addWidget(self.debugClientEdit)
        self.debugClientButton = QtWidgets.QToolButton(self.groupBox_2)
        self.debugClientButton.setEnabled(False)
        self.debugClientButton.setObjectName("debugClientButton")
        self.hboxlayout.addWidget(self.debugClientButton)
        self.gridlayout1.addLayout(self.hboxlayout, 1, 0, 1, 3)
        self.standardButton = QtWidgets.QRadioButton(self.groupBox_2)
        self.standardButton.setObjectName("standardButton")
        self.gridlayout1.addWidget(self.standardButton, 0, 0, 1, 1)
        self.customButton = QtWidgets.QRadioButton(self.groupBox_2)
        self.customButton.setObjectName("customButton")
        self.gridlayout1.addWidget(self.customButton, 0, 2, 1, 1)
        self.threadedButton = QtWidgets.QRadioButton(self.groupBox_2)
        self.threadedButton.setObjectName("threadedButton")
        self.gridlayout1.addWidget(self.threadedButton, 0, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(DebuggerPythonPage)
        self.groupBox_3.setObjectName("groupBox_3")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_3)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.groupBox_3)
        self.label.setWordWrap(True)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.sourceExtensionsEdit = QtWidgets.QLineEdit(self.groupBox_3)
        self.sourceExtensionsEdit.setObjectName("sourceExtensionsEdit")
        self.verticalLayout.addWidget(self.sourceExtensionsEdit)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.pyRedirectCheckBox = QtWidgets.QCheckBox(DebuggerPythonPage)
        self.pyRedirectCheckBox.setObjectName("pyRedirectCheckBox")
        self.verticalLayout_2.addWidget(self.pyRedirectCheckBox)
        self.pyNoEncodingCheckBox = QtWidgets.QCheckBox(DebuggerPythonPage)
        self.pyNoEncodingCheckBox.setObjectName("pyNoEncodingCheckBox")
        self.verticalLayout_2.addWidget(self.pyNoEncodingCheckBox)
        spacerItem = QtWidgets.QSpacerItem(435, 21, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)

        self.retranslateUi(DebuggerPythonPage)
        self.customButton.toggled['bool'].connect(self.debugClientEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(DebuggerPythonPage)
        DebuggerPythonPage.setTabOrder(self.interpreterEdit, self.interpreterButton)
        DebuggerPythonPage.setTabOrder(self.interpreterButton, self.standardButton)
        DebuggerPythonPage.setTabOrder(self.standardButton, self.threadedButton)
        DebuggerPythonPage.setTabOrder(self.threadedButton, self.customButton)
        DebuggerPythonPage.setTabOrder(self.customButton, self.debugClientEdit)
        DebuggerPythonPage.setTabOrder(self.debugClientEdit, self.debugClientButton)
        DebuggerPythonPage.setTabOrder(self.debugClientButton, self.sourceExtensionsEdit)
        DebuggerPythonPage.setTabOrder(self.sourceExtensionsEdit, self.pyRedirectCheckBox)
        DebuggerPythonPage.setTabOrder(self.pyRedirectCheckBox, self.pyNoEncodingCheckBox)

    def retranslateUi(self, DebuggerPythonPage):
        _translate = QtCore.QCoreApplication.translate
        self.headerLabel.setText(_translate("DebuggerPythonPage", "<b>Configure Python Debugger</b>"))
        self.groupBox.setTitle(_translate("DebuggerPythonPage", "Python Interpreter for Debug Client"))
        self.interpreterEdit.setToolTip(_translate("DebuggerPythonPage", "Enter the path of the Python interpreter to be used by the debug client."))
        self.interpreterButton.setToolTip(_translate("DebuggerPythonPage", "Press to select the Python interpreter via a file selection dialog"))
        self.groupBox_2.setTitle(_translate("DebuggerPythonPage", "Debug Client Type"))
        self.debugClientEdit.setToolTip(_translate("DebuggerPythonPage", "Enter the path of the Debug Client to be used.  Leave empty to use the default."))
        self.debugClientButton.setToolTip(_translate("DebuggerPythonPage", "Press to select the Debug Client via a file selection dialog"))
        self.standardButton.setToolTip(_translate("DebuggerPythonPage", "Select the standard debug client"))
        self.standardButton.setText(_translate("DebuggerPythonPage", "Standard"))
        self.customButton.setToolTip(_translate("DebuggerPythonPage", "Select the custom selected debug client"))
        self.customButton.setText(_translate("DebuggerPythonPage", "Custom"))
        self.threadedButton.setToolTip(_translate("DebuggerPythonPage", "Select the multi threaded debug client"))
        self.threadedButton.setText(_translate("DebuggerPythonPage", "Multi Threaded"))
        self.groupBox_3.setTitle(_translate("DebuggerPythonPage", "Source association"))
        self.label.setText(_translate("DebuggerPythonPage", "Enter the file extensions to be associated with the Python2 debugger separated by a space. They must not overlap with the ones for Python3."))
        self.pyRedirectCheckBox.setToolTip(_translate("DebuggerPythonPage", "Select, to redirect stdin, stdout and stderr of the program being debugged to the eric6 IDE"))
        self.pyRedirectCheckBox.setText(_translate("DebuggerPythonPage", "Redirect stdin/stdout/stderr"))
        self.pyNoEncodingCheckBox.setToolTip(_translate("DebuggerPythonPage", "Select to not set the debug client encoding"))
        self.pyNoEncodingCheckBox.setText(_translate("DebuggerPythonPage", "Don\'t set the encoding of the debug client"))

