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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/DebuggerPythonPage.ui'
#
# Created: Sat Feb  3 15:33:44 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_DebuggerPythonPage(object):
    def setupUi(self, DebuggerPythonPage):
        DebuggerPythonPage.setObjectName("DebuggerPythonPage")
        DebuggerPythonPage.resize(QtCore.QSize(QtCore.QRect(0,0,447,309).size()).expandedTo(DebuggerPythonPage.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(DebuggerPythonPage)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.headerLabel = QtGui.QLabel(DebuggerPythonPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.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.setFrameShadow(QtGui.QFrame.Sunken)
        self.line11_2.setObjectName("line11_2")
        self.vboxlayout.addWidget(self.line11_2)

        self.groupBox = QtGui.QGroupBox(DebuggerPythonPage)
        self.groupBox.setObjectName("groupBox")

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

        self.customPyCheckBox = QtGui.QCheckBox(self.groupBox)
        self.customPyCheckBox.setObjectName("customPyCheckBox")
        self.gridlayout.addWidget(self.customPyCheckBox,0,0,1,2)

        self.interpreterEdit = QtGui.QLineEdit(self.groupBox)
        self.interpreterEdit.setEnabled(False)
        self.interpreterEdit.setObjectName("interpreterEdit")
        self.gridlayout.addWidget(self.interpreterEdit,1,0,1,1)

        self.interpreterButton = QtGui.QPushButton(self.groupBox)
        self.interpreterButton.setEnabled(False)
        self.interpreterButton.setObjectName("interpreterButton")
        self.gridlayout.addWidget(self.interpreterButton,1,1,1,1)
        self.vboxlayout.addWidget(self.groupBox)

        self.groupBox_2 = QtGui.QGroupBox(DebuggerPythonPage)
        self.groupBox_2.setObjectName("groupBox_2")

        self.gridlayout1 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout1.setMargin(6)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.debugClientEdit = QtGui.QLineEdit(self.groupBox_2)
        self.debugClientEdit.setEnabled(False)
        self.debugClientEdit.setObjectName("debugClientEdit")
        self.hboxlayout.addWidget(self.debugClientEdit)

        self.debugClientButton = QtGui.QPushButton(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 = QtGui.QRadioButton(self.groupBox_2)
        self.standardButton.setObjectName("standardButton")
        self.gridlayout1.addWidget(self.standardButton,0,0,1,1)

        self.customButton = QtGui.QRadioButton(self.groupBox_2)
        self.customButton.setObjectName("customButton")
        self.gridlayout1.addWidget(self.customButton,0,2,1,1)

        self.threadedButton = QtGui.QRadioButton(self.groupBox_2)
        self.threadedButton.setObjectName("threadedButton")
        self.gridlayout1.addWidget(self.threadedButton,0,1,1,1)
        self.vboxlayout.addWidget(self.groupBox_2)

        self.pyRedirectCheckBox = QtGui.QCheckBox(DebuggerPythonPage)
        self.pyRedirectCheckBox.setObjectName("pyRedirectCheckBox")
        self.vboxlayout.addWidget(self.pyRedirectCheckBox)

        self.pyNoEncodingCheckBox = QtGui.QCheckBox(DebuggerPythonPage)
        self.pyNoEncodingCheckBox.setObjectName("pyNoEncodingCheckBox")
        self.vboxlayout.addWidget(self.pyNoEncodingCheckBox)

        spacerItem = QtGui.QSpacerItem(435,21,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem)

        self.retranslateUi(DebuggerPythonPage)
        QtCore.QObject.connect(self.customPyCheckBox,QtCore.SIGNAL("toggled(bool)"),self.interpreterEdit.setEnabled)
        QtCore.QObject.connect(self.customPyCheckBox,QtCore.SIGNAL("toggled(bool)"),self.interpreterButton.setEnabled)
        QtCore.QObject.connect(self.customButton,QtCore.SIGNAL("toggled(bool)"),self.debugClientEdit.setEnabled)
        QtCore.QObject.connect(self.customButton,QtCore.SIGNAL("toggled(bool)"),self.debugClientButton.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(DebuggerPythonPage)
        DebuggerPythonPage.setTabOrder(self.customPyCheckBox,self.interpreterEdit)
        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.pyRedirectCheckBox)

    def retranslateUi(self, DebuggerPythonPage):
        self.headerLabel.setText(QtGui.QApplication.translate("DebuggerPythonPage", "<b>Configure Python Debugger</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("DebuggerPythonPage", "Python Interpreter for Debug Client", None, QtGui.QApplication.UnicodeUTF8))
        self.customPyCheckBox.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Select, whether a special Python interpreter should be used", None, QtGui.QApplication.UnicodeUTF8))
        self.customPyCheckBox.setText(QtGui.QApplication.translate("DebuggerPythonPage", "Custom Python Interpreter", None, QtGui.QApplication.UnicodeUTF8))
        self.interpreterEdit.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Enter the path of the Python interpreter to be used by the debug client.  Leave empty to use the default.", None, QtGui.QApplication.UnicodeUTF8))
        self.interpreterButton.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Press to select the Python interpreter via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.interpreterButton.setText(QtGui.QApplication.translate("DebuggerPythonPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("DebuggerPythonPage", "Debug Client Type", None, QtGui.QApplication.UnicodeUTF8))
        self.debugClientEdit.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Enter the path of the Debug Client to be used.  Leave empty to use the default.", None, QtGui.QApplication.UnicodeUTF8))
        self.debugClientButton.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Press to select the Debug Client via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.debugClientButton.setText(QtGui.QApplication.translate("DebuggerPythonPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.standardButton.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Select the standard debug client", None, QtGui.QApplication.UnicodeUTF8))
        self.standardButton.setText(QtGui.QApplication.translate("DebuggerPythonPage", "Standard", None, QtGui.QApplication.UnicodeUTF8))
        self.customButton.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Select the custom selected debug client", None, QtGui.QApplication.UnicodeUTF8))
        self.customButton.setText(QtGui.QApplication.translate("DebuggerPythonPage", "Custom", None, QtGui.QApplication.UnicodeUTF8))
        self.threadedButton.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Select the multi threaded debug client", None, QtGui.QApplication.UnicodeUTF8))
        self.threadedButton.setText(QtGui.QApplication.translate("DebuggerPythonPage", "Multi Threaded", None, QtGui.QApplication.UnicodeUTF8))
        self.pyRedirectCheckBox.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Select, to redirect stdin, stdout and stderr of the program being debugged to the eric4 IDE", None, QtGui.QApplication.UnicodeUTF8))
        self.pyRedirectCheckBox.setText(QtGui.QApplication.translate("DebuggerPythonPage", "Redirect stdin/stdout/stderr", None, QtGui.QApplication.UnicodeUTF8))
        self.pyNoEncodingCheckBox.setToolTip(QtGui.QApplication.translate("DebuggerPythonPage", "Select to not set the debug client encoding", None, QtGui.QApplication.UnicodeUTF8))
        self.pyNoEncodingCheckBox.setText(QtGui.QApplication.translate("DebuggerPythonPage", "Don\'t set the encoding of the debug client", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    DebuggerPythonPage = QtGui.QWidget()
    ui = Ui_DebuggerPythonPage()
    ui.setupUi(DebuggerPythonPage)
    DebuggerPythonPage.show()
    sys.exit(app.exec_())
