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

# Form implementation generated from reading ui file 'eric/E5Network/E5SslCertificatesDialog.ui'
#
# Created: Sun Jan 18 22:19:53 2015
#      by: PyQt4 UI code generator 4.11.3
#
# 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_E5SslCertificatesDialog(object):
    def setupUi(self, E5SslCertificatesDialog):
        E5SslCertificatesDialog.setObjectName(_fromUtf8("E5SslCertificatesDialog"))
        E5SslCertificatesDialog.resize(760, 440)
        E5SslCertificatesDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(E5SslCertificatesDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.certificatesWidget = QtGui.QTabWidget(E5SslCertificatesDialog)
        self.certificatesWidget.setObjectName(_fromUtf8("certificatesWidget"))
        self.serversTab = QtGui.QWidget()
        self.serversTab.setObjectName(_fromUtf8("serversTab"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.serversTab)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label = QtGui.QLabel(self.serversTab)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_2.addWidget(self.label)
        self.serversCertificatesTree = QtGui.QTreeWidget(self.serversTab)
        self.serversCertificatesTree.setObjectName(_fromUtf8("serversCertificatesTree"))
        self.verticalLayout_2.addWidget(self.serversCertificatesTree)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.serversViewButton = QtGui.QPushButton(self.serversTab)
        self.serversViewButton.setEnabled(False)
        self.serversViewButton.setObjectName(_fromUtf8("serversViewButton"))
        self.horizontalLayout.addWidget(self.serversViewButton)
        self.serversImportButton = QtGui.QPushButton(self.serversTab)
        self.serversImportButton.setObjectName(_fromUtf8("serversImportButton"))
        self.horizontalLayout.addWidget(self.serversImportButton)
        self.serversExportButton = QtGui.QPushButton(self.serversTab)
        self.serversExportButton.setEnabled(False)
        self.serversExportButton.setObjectName(_fromUtf8("serversExportButton"))
        self.horizontalLayout.addWidget(self.serversExportButton)
        self.serversDeleteButton = QtGui.QPushButton(self.serversTab)
        self.serversDeleteButton.setEnabled(False)
        self.serversDeleteButton.setObjectName(_fromUtf8("serversDeleteButton"))
        self.horizontalLayout.addWidget(self.serversDeleteButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.certificatesWidget.addTab(self.serversTab, _fromUtf8(""))
        self.caTab = QtGui.QWidget()
        self.caTab.setObjectName(_fromUtf8("caTab"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.caTab)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label_2 = QtGui.QLabel(self.caTab)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_3.addWidget(self.label_2)
        self.caCertificatesTree = QtGui.QTreeWidget(self.caTab)
        self.caCertificatesTree.setObjectName(_fromUtf8("caCertificatesTree"))
        self.verticalLayout_3.addWidget(self.caCertificatesTree)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.caViewButton = QtGui.QPushButton(self.caTab)
        self.caViewButton.setEnabled(False)
        self.caViewButton.setObjectName(_fromUtf8("caViewButton"))
        self.horizontalLayout_2.addWidget(self.caViewButton)
        self.caImportButton = QtGui.QPushButton(self.caTab)
        self.caImportButton.setObjectName(_fromUtf8("caImportButton"))
        self.horizontalLayout_2.addWidget(self.caImportButton)
        self.caExportButton = QtGui.QPushButton(self.caTab)
        self.caExportButton.setEnabled(False)
        self.caExportButton.setObjectName(_fromUtf8("caExportButton"))
        self.horizontalLayout_2.addWidget(self.caExportButton)
        self.caDeleteButton = QtGui.QPushButton(self.caTab)
        self.caDeleteButton.setEnabled(False)
        self.caDeleteButton.setObjectName(_fromUtf8("caDeleteButton"))
        self.horizontalLayout_2.addWidget(self.caDeleteButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.verticalLayout_3.addLayout(self.horizontalLayout_2)
        self.certificatesWidget.addTab(self.caTab, _fromUtf8(""))
        self.verticalLayout.addWidget(self.certificatesWidget)
        self.buttonBox = QtGui.QDialogButtonBox(E5SslCertificatesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(E5SslCertificatesDialog)
        self.certificatesWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), E5SslCertificatesDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), E5SslCertificatesDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(E5SslCertificatesDialog)
        E5SslCertificatesDialog.setTabOrder(self.certificatesWidget, self.serversCertificatesTree)
        E5SslCertificatesDialog.setTabOrder(self.serversCertificatesTree, self.serversViewButton)
        E5SslCertificatesDialog.setTabOrder(self.serversViewButton, self.serversImportButton)
        E5SslCertificatesDialog.setTabOrder(self.serversImportButton, self.serversExportButton)
        E5SslCertificatesDialog.setTabOrder(self.serversExportButton, self.serversDeleteButton)
        E5SslCertificatesDialog.setTabOrder(self.serversDeleteButton, self.caCertificatesTree)
        E5SslCertificatesDialog.setTabOrder(self.caCertificatesTree, self.caViewButton)
        E5SslCertificatesDialog.setTabOrder(self.caViewButton, self.caImportButton)
        E5SslCertificatesDialog.setTabOrder(self.caImportButton, self.caExportButton)
        E5SslCertificatesDialog.setTabOrder(self.caExportButton, self.caDeleteButton)
        E5SslCertificatesDialog.setTabOrder(self.caDeleteButton, self.buttonBox)

    def retranslateUi(self, E5SslCertificatesDialog):
        E5SslCertificatesDialog.setWindowTitle(_translate("E5SslCertificatesDialog", "SSL Certificate Manager", None))
        self.label.setText(_translate("E5SslCertificatesDialog", "You have saved certificates identifying these servers:", None))
        self.serversCertificatesTree.headerItem().setText(0, _translate("E5SslCertificatesDialog", "Certificate name", None))
        self.serversCertificatesTree.headerItem().setText(1, _translate("E5SslCertificatesDialog", "Server", None))
        self.serversCertificatesTree.headerItem().setText(2, _translate("E5SslCertificatesDialog", "Expiry Date", None))
        self.serversViewButton.setToolTip(_translate("E5SslCertificatesDialog", "Press to view the selected certificate", None))
        self.serversViewButton.setText(_translate("E5SslCertificatesDialog", "&View...", None))
        self.serversImportButton.setToolTip(_translate("E5SslCertificatesDialog", "Press to import a certificate", None))
        self.serversImportButton.setText(_translate("E5SslCertificatesDialog", "&Import...", None))
        self.serversExportButton.setToolTip(_translate("E5SslCertificatesDialog", "Press to export the selected certificate", None))
        self.serversExportButton.setText(_translate("E5SslCertificatesDialog", "&Export...", None))
        self.serversDeleteButton.setToolTip(_translate("E5SslCertificatesDialog", "Press to delete the selected certificate", None))
        self.serversDeleteButton.setText(_translate("E5SslCertificatesDialog", "&Delete...", None))
        self.certificatesWidget.setTabText(self.certificatesWidget.indexOf(self.serversTab), _translate("E5SslCertificatesDialog", "&Servers", None))
        self.label_2.setText(_translate("E5SslCertificatesDialog", "You have saved certificates identifying these certification authorities:", None))
        self.caCertificatesTree.headerItem().setText(0, _translate("E5SslCertificatesDialog", "Certificate name", None))
        self.caCertificatesTree.headerItem().setText(1, _translate("E5SslCertificatesDialog", "Expiry Date", None))
        self.caViewButton.setToolTip(_translate("E5SslCertificatesDialog", "Press to view the selected certificate", None))
        self.caViewButton.setText(_translate("E5SslCertificatesDialog", "&View...", None))
        self.caImportButton.setToolTip(_translate("E5SslCertificatesDialog", "Press to import a certificate", None))
        self.caImportButton.setText(_translate("E5SslCertificatesDialog", "&Import...", None))
        self.caExportButton.setToolTip(_translate("E5SslCertificatesDialog", "Press to export the selected certificate", None))
        self.caExportButton.setText(_translate("E5SslCertificatesDialog", "&Export...", None))
        self.caDeleteButton.setToolTip(_translate("E5SslCertificatesDialog", "Press to delete the selected certificate", None))
        self.caDeleteButton.setText(_translate("E5SslCertificatesDialog", "&Delete...", None))
        self.certificatesWidget.setTabText(self.certificatesWidget.indexOf(self.caTab), _translate("E5SslCertificatesDialog", "Certificate &Authorities", None))

