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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_3/eric4/Debugger/ExceptionsFilterDialog.ui'
#
# Created: Sun Oct 19 18:36:22 2008
#      by: PyQt4 UI code generator 4.4.4-snapshot-20081002
#
# 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(464, 385)
        ExceptionsFilterDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(ExceptionsFilterDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.exceptionList = QtGui.QListWidget(ExceptionsFilterDialog)
        self.exceptionList.setAlternatingRowColors(True)
        self.exceptionList.setObjectName("exceptionList")
        self.verticalLayout.addWidget(self.exceptionList)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.addButton = QtGui.QPushButton(ExceptionsFilterDialog)
        self.addButton.setEnabled(False)
        self.addButton.setObjectName("addButton")
        self.horizontalLayout.addWidget(self.addButton)
        self.exceptionEdit = QtGui.QLineEdit(ExceptionsFilterDialog)
        self.exceptionEdit.setObjectName("exceptionEdit")
        self.horizontalLayout.addWidget(self.exceptionEdit)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.deleteButton = QtGui.QPushButton(ExceptionsFilterDialog)
        self.deleteButton.setEnabled(False)
        self.deleteButton.setObjectName("deleteButton")
        self.horizontalLayout_2.addWidget(self.deleteButton)
        self.deleteAllButton = QtGui.QPushButton(ExceptionsFilterDialog)
        self.deleteAllButton.setObjectName("deleteAllButton")
        self.horizontalLayout_2.addWidget(self.deleteAllButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.buttonBox = QtGui.QDialogButtonBox(ExceptionsFilterDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.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)
        ExceptionsFilterDialog.setTabOrder(self.deleteButton, self.deleteAllButton)
        ExceptionsFilterDialog.setTabOrder(self.deleteAllButton, self.buttonBox)

    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.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))
        self.exceptionEdit.setToolTip(QtGui.QApplication.translate("ExceptionsFilterDialog", "Enter an exception type that shall be highlighted", 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.deleteAllButton.setToolTip(QtGui.QApplication.translate("ExceptionsFilterDialog", "Press to delete all exceptions from the list", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteAllButton.setText(QtGui.QApplication.translate("ExceptionsFilterDialog", "Delete All", 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_())

