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

# Form implementation generated from reading ui file 'eric/Helpviewer/SslCertificatesDialog.ui'
#
# Created: Wed Aug 21 08:54:44 2013
#      by: PyQt4 UI code generator 4.10.2
#
# 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_SslCertificatesDialog(object):
    def setupUi(self, SslCertificatesDialog):
        SslCertificatesDialog.setObjectName(_fromUtf8("SslCertificatesDialog"))
        SslCertificatesDialog.resize(760, 440)
        SslCertificatesDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(SslCertificatesDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.certificatesWidget = QtGui.QTabWidget(SslCertificatesDialog)
        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(SslCertificatesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

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

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

