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

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

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_DebuggerPythonPage(object):
    def setupUi(self, DebuggerPythonPage):
        DebuggerPythonPage.setObjectName(_fromUtf8("DebuggerPythonPage"))
        DebuggerPythonPage.resize(455, 449)
        self.verticalLayout_2 = QtGui.QVBoxLayout(DebuggerPythonPage)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.headerLabel = QtGui.QLabel(DebuggerPythonPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_2.addWidget(self.headerLabel)
        self.line11_2 = QtGui.QFrame(DebuggerPythonPage)
        self.line11_2.setFrameShape(QtGui.QFrame.HLine)
        self.line11_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line11_2.setFrameShape(QtGui.QFrame.HLine)
        self.line11_2.setObjectName(_fromUtf8("line11_2"))
        self.verticalLayout_2.addWidget(self.line11_2)
        self.groupBox = QtGui.QGroupBox(DebuggerPythonPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.interpreterPicker = E5PathPicker(self.groupBox)
        self.interpreterPicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.interpreterPicker.setObjectName(_fromUtf8("interpreterPicker"))
        self.verticalLayout_3.addWidget(self.interpreterPicker)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(DebuggerPythonPage)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.debugClientPicker = E5PathPicker(self.groupBox_2)
        self.debugClientPicker.setEnabled(False)
        self.debugClientPicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.debugClientPicker.setObjectName(_fromUtf8("debugClientPicker"))
        self.gridLayout.addWidget(self.debugClientPicker, 1, 0, 1, 2)
        self.standardButton = QtGui.QRadioButton(self.groupBox_2)
        self.standardButton.setObjectName(_fromUtf8("standardButton"))
        self.gridLayout.addWidget(self.standardButton, 0, 0, 1, 1)
        self.customButton = QtGui.QRadioButton(self.groupBox_2)
        self.customButton.setObjectName(_fromUtf8("customButton"))
        self.gridLayout.addWidget(self.customButton, 0, 1, 1, 1)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(DebuggerPythonPage)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label = QtGui.QLabel(self.groupBox_3)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.sourceExtensionsEdit = QtGui.QLineEdit(self.groupBox_3)
        self.sourceExtensionsEdit.setObjectName(_fromUtf8("sourceExtensionsEdit"))
        self.verticalLayout.addWidget(self.sourceExtensionsEdit)
        self.verticalLayout_2.addWidget(self.groupBox_3)
        self.pyRedirectCheckBox = QtGui.QCheckBox(DebuggerPythonPage)
        self.pyRedirectCheckBox.setObjectName(_fromUtf8("pyRedirectCheckBox"))
        self.verticalLayout_2.addWidget(self.pyRedirectCheckBox)
        self.pyNoEncodingCheckBox = QtGui.QCheckBox(DebuggerPythonPage)
        self.pyNoEncodingCheckBox.setObjectName(_fromUtf8("pyNoEncodingCheckBox"))
        self.verticalLayout_2.addWidget(self.pyNoEncodingCheckBox)
        spacerItem = QtGui.QSpacerItem(435, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)

        self.retranslateUi(DebuggerPythonPage)
        QtCore.QObject.connect(self.customButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.debugClientPicker.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(DebuggerPythonPage)
        DebuggerPythonPage.setTabOrder(self.interpreterPicker, self.standardButton)
        DebuggerPythonPage.setTabOrder(self.standardButton, self.customButton)
        DebuggerPythonPage.setTabOrder(self.customButton, self.debugClientPicker)
        DebuggerPythonPage.setTabOrder(self.debugClientPicker, self.sourceExtensionsEdit)
        DebuggerPythonPage.setTabOrder(self.sourceExtensionsEdit, self.pyRedirectCheckBox)
        DebuggerPythonPage.setTabOrder(self.pyRedirectCheckBox, self.pyNoEncodingCheckBox)

    def retranslateUi(self, DebuggerPythonPage):
        self.headerLabel.setText(_translate("DebuggerPythonPage", "<b>Configure Python Debugger</b>", None))
        self.groupBox.setTitle(_translate("DebuggerPythonPage", "Python Interpreter for Debug Client", None))
        self.interpreterPicker.setToolTip(_translate("DebuggerPythonPage", "Enter the path of the Python interpreter to be used by the debug client.", None))
        self.groupBox_2.setTitle(_translate("DebuggerPythonPage", "Debug Client Type", None))
        self.debugClientPicker.setToolTip(_translate("DebuggerPythonPage", "Enter the path of the Debug Client to be used.  Leave empty to use the default.", None))
        self.standardButton.setToolTip(_translate("DebuggerPythonPage", "Select the standard debug client", None))
        self.standardButton.setText(_translate("DebuggerPythonPage", "Standard", None))
        self.customButton.setToolTip(_translate("DebuggerPythonPage", "Select the custom selected debug client", None))
        self.customButton.setText(_translate("DebuggerPythonPage", "Custom", None))
        self.groupBox_3.setTitle(_translate("DebuggerPythonPage", "Source association", None))
        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.", None))
        self.pyRedirectCheckBox.setToolTip(_translate("DebuggerPythonPage", "Select, to redirect stdin, stdout and stderr of the program being debugged to the eric6 IDE", None))
        self.pyRedirectCheckBox.setText(_translate("DebuggerPythonPage", "Redirect stdin/stdout/stderr", None))
        self.pyNoEncodingCheckBox.setToolTip(_translate("DebuggerPythonPage", "Select to not set the debug client encoding", None))
        self.pyNoEncodingCheckBox.setText(_translate("DebuggerPythonPage", "Don\'t set the encoding of the debug client", None))

from E5Gui.E5PathPicker import E5PathPicker
