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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Debugger/ExceptionsFilterDialog.ui'
#
# Created: Mon Jul 16 20:20:54 2007
#      by: PyQt4 UI code generator 4-snapshot-20070704
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_ExceptionsFilterDialog(object):
    def setupUi(self, ExceptionsFilterDialog):
        ExceptionsFilterDialog.setObjectName("ExceptionsFilterDialog")
        ExceptionsFilterDialog.resize(QtCore.QSize(QtCore.QRect(0,0,464,328).size()).expandedTo(ExceptionsFilterDialog.minimumSizeHint()))
        ExceptionsFilterDialog.setSizeGripEnabled(True)

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

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

        self.deleteButton = QtGui.QPushButton(ExceptionsFilterDialog)
        self.deleteButton.setObjectName("deleteButton")
        self.gridlayout.addWidget(self.deleteButton,1,0,1,1)

        self.exceptionEdit = QtGui.QLineEdit(ExceptionsFilterDialog)
        self.exceptionEdit.setObjectName("exceptionEdit")
        self.gridlayout.addWidget(self.exceptionEdit,1,2,1,1)

        self.exceptionList = QtGui.QListWidget(ExceptionsFilterDialog)
        self.exceptionList.setAlternatingRowColors(True)
        self.exceptionList.setObjectName("exceptionList")
        self.gridlayout.addWidget(self.exceptionList,0,0,1,3)

        self.addButton = QtGui.QPushButton(ExceptionsFilterDialog)
        self.addButton.setEnabled(False)
        self.addButton.setObjectName("addButton")
        self.gridlayout.addWidget(self.addButton,1,1,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(ExceptionsFilterDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(ExceptionsFilterDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),ExceptionsFilterDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),ExceptionsFilterDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(ExceptionsFilterDialog)
        ExceptionsFilterDialog.setTabOrder(self.exceptionList,self.exceptionEdit)
        ExceptionsFilterDialog.setTabOrder(self.exceptionEdit,self.addButton)
        ExceptionsFilterDialog.setTabOrder(self.addButton,self.deleteButton)

    def retranslateUi(self, ExceptionsFilterDialog):
        ExceptionsFilterDialog.setWindowTitle(QtGui.QApplication.translate("ExceptionsFilterDialog", "Exceptions Filter", None, QtGui.QApplication.UnicodeUTF8))
        ExceptionsFilterDialog.setWhatsThis(QtGui.QApplication.translate("ExceptionsFilterDialog", "<b>Exception Filter</b>\n"
        "<p>This dialog is used to enter the exception types, that shall be highlighted during a debugging session. If this list is empty, all exception types will be highlighted. If the exception reporting flag in the \"Start Debugging\" dialog is unchecked, no exception will be reported at all.</p>\n"
        "<p>Please note, that unhandled exceptions are always highlighted independent of these settings.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setToolTip(QtGui.QApplication.translate("ExceptionsFilterDialog", "Press to delete the selected exception from the list", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteButton.setText(QtGui.QApplication.translate("ExceptionsFilterDialog", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionEdit.setToolTip(QtGui.QApplication.translate("ExceptionsFilterDialog", "Enter an exception type that shall be highlighted", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionList.setToolTip(QtGui.QApplication.translate("ExceptionsFilterDialog", "List of exceptions that shall be highlighted", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setToolTip(QtGui.QApplication.translate("ExceptionsFilterDialog", "Press to add the entered exception to the list", None, QtGui.QApplication.UnicodeUTF8))
        self.addButton.setText(QtGui.QApplication.translate("ExceptionsFilterDialog", "Add", None, QtGui.QApplication.UnicodeUTF8))



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