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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/DebuggerGeneral2Page.ui'
#
# Created: Sat Jun 23 15:11:58 2007
#      by: PyQt4 UI code generator 4-snapshot-20070606
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_DebuggerGeneral2Page(object):
    def setupUi(self, DebuggerGeneral2Page):
        DebuggerGeneral2Page.setObjectName("DebuggerGeneral2Page")
        DebuggerGeneral2Page.resize(QtCore.QSize(QtCore.QRect(0,0,400,479).size()).expandedTo(DebuggerGeneral2Page.minimumSizeHint()))

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

        self.headerLabel = QtGui.QLabel(DebuggerGeneral2Page)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.addWidget(self.headerLabel)

        self.line11 = QtGui.QFrame(DebuggerGeneral2Page)
        self.line11.setFrameShape(QtGui.QFrame.HLine)
        self.line11.setFrameShadow(QtGui.QFrame.Sunken)
        self.line11.setFrameShape(QtGui.QFrame.HLine)
        self.line11.setFrameShadow(QtGui.QFrame.Sunken)
        self.line11.setObjectName("line11")
        self.vboxlayout.addWidget(self.line11)

        self.dbgPathTranslationGroup = QtGui.QGroupBox(DebuggerGeneral2Page)
        self.dbgPathTranslationGroup.setObjectName("dbgPathTranslationGroup")

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

        self.dbgPathTranslationCheckBox = QtGui.QCheckBox(self.dbgPathTranslationGroup)
        self.dbgPathTranslationCheckBox.setObjectName("dbgPathTranslationCheckBox")
        self.gridlayout.addWidget(self.dbgPathTranslationCheckBox,0,0,1,2)

        self.textLabel2_9 = QtGui.QLabel(self.dbgPathTranslationGroup)
        self.textLabel2_9.setEnabled(False)
        self.textLabel2_9.setObjectName("textLabel2_9")
        self.gridlayout.addWidget(self.textLabel2_9,2,0,1,1)

        self.dbgTranslationLocalEdit = QtGui.QLineEdit(self.dbgPathTranslationGroup)
        self.dbgTranslationLocalEdit.setEnabled(False)
        self.dbgTranslationLocalEdit.setObjectName("dbgTranslationLocalEdit")
        self.gridlayout.addWidget(self.dbgTranslationLocalEdit,2,1,1,1)

        self.dbgTranslationRemoteEdit = QtGui.QLineEdit(self.dbgPathTranslationGroup)
        self.dbgTranslationRemoteEdit.setEnabled(False)
        self.dbgTranslationRemoteEdit.setObjectName("dbgTranslationRemoteEdit")
        self.gridlayout.addWidget(self.dbgTranslationRemoteEdit,1,1,1,1)

        self.textLabel1_18 = QtGui.QLabel(self.dbgPathTranslationGroup)
        self.textLabel1_18.setEnabled(False)
        self.textLabel1_18.setObjectName("textLabel1_18")
        self.gridlayout.addWidget(self.textLabel1_18,1,0,1,1)
        self.vboxlayout.addWidget(self.dbgPathTranslationGroup)

        self.groupBox_3 = QtGui.QGroupBox(DebuggerGeneral2Page)
        self.groupBox_3.setObjectName("groupBox_3")

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

        self.consoleDbgEdit = QtGui.QLineEdit(self.groupBox_3)
        self.consoleDbgEdit.setEnabled(False)
        self.consoleDbgEdit.setObjectName("consoleDbgEdit")
        self.gridlayout1.addWidget(self.consoleDbgEdit,1,1,1,1)

        self.textLabel1_17 = QtGui.QLabel(self.groupBox_3)
        self.textLabel1_17.setEnabled(False)
        self.textLabel1_17.setObjectName("textLabel1_17")
        self.gridlayout1.addWidget(self.textLabel1_17,1,0,1,1)

        self.consoleDbgCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.consoleDbgCheckBox.setObjectName("consoleDbgCheckBox")
        self.gridlayout1.addWidget(self.consoleDbgCheckBox,0,0,1,2)
        self.vboxlayout.addWidget(self.groupBox_3)

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

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

        self.debugEnvironReplaceCheckBox = QtGui.QCheckBox(self.groupBox)
        self.debugEnvironReplaceCheckBox.setObjectName("debugEnvironReplaceCheckBox")
        self.gridlayout2.addWidget(self.debugEnvironReplaceCheckBox,0,0,1,2)

        self.textLabel1_16 = QtGui.QLabel(self.groupBox)
        self.textLabel1_16.setObjectName("textLabel1_16")
        self.gridlayout2.addWidget(self.textLabel1_16,1,0,1,1)

        self.debugEnvironEdit = QtGui.QLineEdit(self.groupBox)
        self.debugEnvironEdit.setObjectName("debugEnvironEdit")
        self.gridlayout2.addWidget(self.debugEnvironEdit,1,1,1,1)
        self.vboxlayout.addWidget(self.groupBox)

        self.automaticResetCheckBox = QtGui.QCheckBox(DebuggerGeneral2Page)
        self.automaticResetCheckBox.setObjectName("automaticResetCheckBox")
        self.vboxlayout.addWidget(self.automaticResetCheckBox)

        self.debugAutoSaveScriptsCheckBox = QtGui.QCheckBox(DebuggerGeneral2Page)
        self.debugAutoSaveScriptsCheckBox.setObjectName("debugAutoSaveScriptsCheckBox")
        self.vboxlayout.addWidget(self.debugAutoSaveScriptsCheckBox)

        spacerItem = QtGui.QSpacerItem(388,31,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem)

        self.retranslateUi(DebuggerGeneral2Page)
        QtCore.QObject.connect(self.dbgPathTranslationCheckBox,QtCore.SIGNAL("toggled(bool)"),self.textLabel1_18.setEnabled)
        QtCore.QObject.connect(self.dbgPathTranslationCheckBox,QtCore.SIGNAL("toggled(bool)"),self.textLabel2_9.setEnabled)
        QtCore.QObject.connect(self.dbgPathTranslationCheckBox,QtCore.SIGNAL("toggled(bool)"),self.dbgTranslationRemoteEdit.setEnabled)
        QtCore.QObject.connect(self.dbgPathTranslationCheckBox,QtCore.SIGNAL("toggled(bool)"),self.dbgTranslationLocalEdit.setEnabled)
        QtCore.QObject.connect(self.consoleDbgCheckBox,QtCore.SIGNAL("toggled(bool)"),self.textLabel1_17.setEnabled)
        QtCore.QObject.connect(self.consoleDbgCheckBox,QtCore.SIGNAL("toggled(bool)"),self.consoleDbgEdit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(DebuggerGeneral2Page)
        DebuggerGeneral2Page.setTabOrder(self.dbgPathTranslationCheckBox,self.dbgTranslationRemoteEdit)
        DebuggerGeneral2Page.setTabOrder(self.dbgTranslationRemoteEdit,self.dbgTranslationLocalEdit)
        DebuggerGeneral2Page.setTabOrder(self.dbgTranslationLocalEdit,self.consoleDbgCheckBox)
        DebuggerGeneral2Page.setTabOrder(self.consoleDbgCheckBox,self.consoleDbgEdit)
        DebuggerGeneral2Page.setTabOrder(self.consoleDbgEdit,self.debugEnvironReplaceCheckBox)
        DebuggerGeneral2Page.setTabOrder(self.debugEnvironReplaceCheckBox,self.debugEnvironEdit)
        DebuggerGeneral2Page.setTabOrder(self.debugEnvironEdit,self.automaticResetCheckBox)
        DebuggerGeneral2Page.setTabOrder(self.automaticResetCheckBox,self.debugAutoSaveScriptsCheckBox)

    def retranslateUi(self, DebuggerGeneral2Page):
        self.headerLabel.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "<b>Configure general debugger settings (Part 2)</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.dbgPathTranslationGroup.setTitle(QtGui.QApplication.translate("DebuggerGeneral2Page", "Path Translation", None, QtGui.QApplication.UnicodeUTF8))
        self.dbgPathTranslationCheckBox.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Select to perform path translation", None, QtGui.QApplication.UnicodeUTF8))
        self.dbgPathTranslationCheckBox.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Perform Path Translation", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_9.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Local Path:", None, QtGui.QApplication.UnicodeUTF8))
        self.dbgTranslationLocalEdit.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Enter the local path", None, QtGui.QApplication.UnicodeUTF8))
        self.dbgTranslationRemoteEdit.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Enter the remote path", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_18.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Remote Path:", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(QtGui.QApplication.translate("DebuggerGeneral2Page", "Console Debugger", None, QtGui.QApplication.UnicodeUTF8))
        self.consoleDbgEdit.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Enter the console command (e.g. xterm -e)", None, QtGui.QApplication.UnicodeUTF8))
        self.consoleDbgEdit.setWhatsThis(QtGui.QApplication.translate("DebuggerGeneral2Page", "<b>Console Command</b>\n"
        "<p>Enter the console command (e.g. xterm -e). This command is used to open a command window for the debugger.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_17.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Console Command:", None, QtGui.QApplication.UnicodeUTF8))
        self.consoleDbgCheckBox.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Select to start the debugger in a console window (e.g. xterm)", None, QtGui.QApplication.UnicodeUTF8))
        self.consoleDbgCheckBox.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Start debugger in console window", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("DebuggerGeneral2Page", "Environment for Debug Client", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEnvironReplaceCheckBox.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Select, if the environment should be replaced.", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEnvironReplaceCheckBox.setWhatsThis(QtGui.QApplication.translate("DebuggerGeneral2Page", "<b>Replace Environment</b>\n"
        "<p>If this entry is checked, the environment of the debugger will be replaced by the entries of the environment variables field. If it is unchecked, the environment will be ammended by these settings.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEnvironReplaceCheckBox.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Replace Environment", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_16.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Environment:", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEnvironEdit.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Enter the environment variables to be set.", None, QtGui.QApplication.UnicodeUTF8))
        self.debugEnvironEdit.setWhatsThis(QtGui.QApplication.translate("DebuggerGeneral2Page", "<b>Environment</b>\n"
        "<p>Enter the environment variables to be set for the debugger. The individual settings must be separate by whitespace and be given in the form \'var=value\'.</p>\n"
        "<p>Example: var1=1 var2=\"hello world\"</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.automaticResetCheckBox.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Select, whether a reset of the debug client should be performed after a client exit", None, QtGui.QApplication.UnicodeUTF8))
        self.automaticResetCheckBox.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Automatic Reset after Client Exit", None, QtGui.QApplication.UnicodeUTF8))
        self.debugAutoSaveScriptsCheckBox.setToolTip(QtGui.QApplication.translate("DebuggerGeneral2Page", "Select, whether changed scripts should be saved upon a debug, run, ... action.", None, QtGui.QApplication.UnicodeUTF8))
        self.debugAutoSaveScriptsCheckBox.setText(QtGui.QApplication.translate("DebuggerGeneral2Page", "Autosave changed scripts", None, QtGui.QApplication.UnicodeUTF8))



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