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

# Form implementation generated from reading ui file 'eric/WebBrowser/Network/SslErrorExceptionsDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_SslErrorExceptionsDialog(object):
    def setupUi(self, SslErrorExceptionsDialog):
        SslErrorExceptionsDialog.setObjectName(_fromUtf8("SslErrorExceptionsDialog"))
        SslErrorExceptionsDialog.resize(751, 513)
        SslErrorExceptionsDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(SslErrorExceptionsDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.errorsTree = QtGui.QTreeWidget(SslErrorExceptionsDialog)
        self.errorsTree.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.errorsTree.setAlternatingRowColors(True)
        self.errorsTree.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.errorsTree.setAllColumnsShowFocus(True)
        self.errorsTree.setObjectName(_fromUtf8("errorsTree"))
        self.gridLayout.addWidget(self.errorsTree, 0, 0, 3, 1)
        self.removeButton = QtGui.QPushButton(SslErrorExceptionsDialog)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.gridLayout.addWidget(self.removeButton, 0, 1, 1, 1)
        self.removeAllButton = QtGui.QPushButton(SslErrorExceptionsDialog)
        self.removeAllButton.setObjectName(_fromUtf8("removeAllButton"))
        self.gridLayout.addWidget(self.removeAllButton, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 128, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.buttonBox = QtGui.QDialogButtonBox(SslErrorExceptionsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(SslErrorExceptionsDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SslErrorExceptionsDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SslErrorExceptionsDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SslErrorExceptionsDialog)

    def retranslateUi(self, SslErrorExceptionsDialog):
        SslErrorExceptionsDialog.setWindowTitle(_translate("SslErrorExceptionsDialog", "SSL Error Exceptions", None))
        self.errorsTree.setSortingEnabled(True)
        self.errorsTree.headerItem().setText(0, _translate("SslErrorExceptionsDialog", "Code", None))
        self.errorsTree.headerItem().setText(1, _translate("SslErrorExceptionsDialog", "Error Description", None))
        self.removeButton.setToolTip(_translate("SslErrorExceptionsDialog", "Press to remove the selected entries", None))
        self.removeButton.setText(_translate("SslErrorExceptionsDialog", "&Remove", None))
        self.removeAllButton.setToolTip(_translate("SslErrorExceptionsDialog", "Press to remove all entries", None))
        self.removeAllButton.setText(_translate("SslErrorExceptionsDialog", "Remove &All", None))

