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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Debugger/EditWatchpointDialog.ui'
#
# Created: Sat Feb  3 15:33:32 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_EditWatchpointDialog(object):
    def setupUi(self, EditWatchpointDialog):
        EditWatchpointDialog.setObjectName("EditWatchpointDialog")
        EditWatchpointDialog.resize(QtCore.QSize(QtCore.QRect(0,0,402,219).size()).expandedTo(EditWatchpointDialog.minimumSizeHint()))

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

        self.buttonBox = QtGui.QDialogButtonBox(EditWatchpointDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,4,0,1,3)

        spacerItem = QtGui.QSpacerItem(211,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,1,2,1,1)

        self.ignoreSpinBox = QtGui.QSpinBox(EditWatchpointDialog)
        self.ignoreSpinBox.setMaximum(9999)
        self.ignoreSpinBox.setObjectName("ignoreSpinBox")
        self.gridlayout.addWidget(self.ignoreSpinBox,1,1,1,1)

        self.textLabel2 = QtGui.QLabel(EditWatchpointDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.gridlayout.addWidget(self.textLabel2,1,0,1,1)

        self.enabledCheckBox = QtGui.QCheckBox(EditWatchpointDialog)
        self.enabledCheckBox.setObjectName("enabledCheckBox")
        self.gridlayout.addWidget(self.enabledCheckBox,3,0,1,3)

        self.temporaryCheckBox = QtGui.QCheckBox(EditWatchpointDialog)
        self.temporaryCheckBox.setObjectName("temporaryCheckBox")
        self.gridlayout.addWidget(self.temporaryCheckBox,2,0,1,3)

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

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

        self.specialButton = QtGui.QRadioButton(self.groupBox)
        self.specialButton.setObjectName("specialButton")
        self.gridlayout1.addWidget(self.specialButton,1,0,1,1)

        self.conditionButton = QtGui.QRadioButton(self.groupBox)
        self.conditionButton.setChecked(True)
        self.conditionButton.setObjectName("conditionButton")
        self.gridlayout1.addWidget(self.conditionButton,0,0,1,1)

        self.specialEdit = QtGui.QLineEdit(self.groupBox)
        self.specialEdit.setEnabled(False)
        self.specialEdit.setObjectName("specialEdit")
        self.gridlayout1.addWidget(self.specialEdit,1,1,1,1)

        self.specialCombo = QtGui.QComboBox(self.groupBox)
        self.specialCombo.setEnabled(False)
        self.specialCombo.setObjectName("specialCombo")
        self.gridlayout1.addWidget(self.specialCombo,2,1,1,1)

        self.conditionEdit = QtGui.QLineEdit(self.groupBox)
        self.conditionEdit.setObjectName("conditionEdit")
        self.gridlayout1.addWidget(self.conditionEdit,0,1,1,1)
        self.gridlayout.addWidget(self.groupBox,0,0,1,3)

        self.retranslateUi(EditWatchpointDialog)
        QtCore.QObject.connect(self.conditionButton,QtCore.SIGNAL("toggled(bool)"),self.conditionEdit.setEnabled)
        QtCore.QObject.connect(self.specialButton,QtCore.SIGNAL("toggled(bool)"),self.specialCombo.setEnabled)
        QtCore.QObject.connect(self.specialButton,QtCore.SIGNAL("toggled(bool)"),self.specialEdit.setEnabled)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),EditWatchpointDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),EditWatchpointDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(EditWatchpointDialog)
        EditWatchpointDialog.setTabOrder(self.conditionButton,self.conditionEdit)
        EditWatchpointDialog.setTabOrder(self.conditionEdit,self.specialButton)
        EditWatchpointDialog.setTabOrder(self.specialButton,self.specialEdit)
        EditWatchpointDialog.setTabOrder(self.specialEdit,self.specialCombo)
        EditWatchpointDialog.setTabOrder(self.specialCombo,self.ignoreSpinBox)
        EditWatchpointDialog.setTabOrder(self.ignoreSpinBox,self.temporaryCheckBox)
        EditWatchpointDialog.setTabOrder(self.temporaryCheckBox,self.enabledCheckBox)

    def retranslateUi(self, EditWatchpointDialog):
        EditWatchpointDialog.setWindowTitle(QtGui.QApplication.translate("EditWatchpointDialog", "Edit Watchpoint", None, QtGui.QApplication.UnicodeUTF8))
        self.ignoreSpinBox.setToolTip(QtGui.QApplication.translate("EditWatchpointDialog", "Enter an ignore count for the watchpoint", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("EditWatchpointDialog", "Ignore Count:", None, QtGui.QApplication.UnicodeUTF8))
        self.enabledCheckBox.setToolTip(QtGui.QApplication.translate("EditWatchpointDialog", "Select, whether the watchpoint is enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.enabledCheckBox.setText(QtGui.QApplication.translate("EditWatchpointDialog", "Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.temporaryCheckBox.setToolTip(QtGui.QApplication.translate("EditWatchpointDialog", "Select whether this is a temporary watchpoint", None, QtGui.QApplication.UnicodeUTF8))
        self.temporaryCheckBox.setText(QtGui.QApplication.translate("EditWatchpointDialog", "Temporary Watchpoint", None, QtGui.QApplication.UnicodeUTF8))
        self.specialButton.setText(QtGui.QApplication.translate("EditWatchpointDialog", "Variable:", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionButton.setText(QtGui.QApplication.translate("EditWatchpointDialog", "Condition:", None, QtGui.QApplication.UnicodeUTF8))
        self.specialEdit.setToolTip(QtGui.QApplication.translate("EditWatchpointDialog", "Enter a variable and select the special condition below", None, QtGui.QApplication.UnicodeUTF8))
        self.specialCombo.setToolTip(QtGui.QApplication.translate("EditWatchpointDialog", "Select a special condition", None, QtGui.QApplication.UnicodeUTF8))
        self.specialCombo.addItem(QtGui.QApplication.translate("EditWatchpointDialog", "created", None, QtGui.QApplication.UnicodeUTF8))
        self.specialCombo.addItem(QtGui.QApplication.translate("EditWatchpointDialog", "changed", None, QtGui.QApplication.UnicodeUTF8))
        self.conditionEdit.setToolTip(QtGui.QApplication.translate("EditWatchpointDialog", "Enter the condition for the watchpoint", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    EditWatchpointDialog = QtGui.QDialog()
    ui = Ui_EditWatchpointDialog()
    ui.setupUi(EditWatchpointDialog)
    EditWatchpointDialog.show()
    sys.exit(app.exec_())
