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

# Form implementation generated from reading ui file 'eric/Helpviewer/SiteInfo/SiteInfoDialog.ui'
#
# Created: Tue Oct 28 07:22:45 2014
#      by: PyQt4 UI code generator 4.11.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_SiteInfoDialog(object):
    def setupUi(self, SiteInfoDialog):
        SiteInfoDialog.setObjectName(_fromUtf8("SiteInfoDialog"))
        SiteInfoDialog.resize(700, 550)
        SiteInfoDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(SiteInfoDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.heading = QtGui.QLabel(SiteInfoDialog)
        self.heading.setText(_fromUtf8(""))
        self.heading.setWordWrap(True)
        self.heading.setObjectName(_fromUtf8("heading"))
        self.verticalLayout.addWidget(self.heading)
        self.tabWidget = QtGui.QTabWidget(SiteInfoDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.generalTab = QtGui.QWidget()
        self.generalTab.setObjectName(_fromUtf8("generalTab"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.generalTab)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.generalTab)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.siteAddressLabel = QtGui.QLabel(self.generalTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.siteAddressLabel.sizePolicy().hasHeightForWidth())
        self.siteAddressLabel.setSizePolicy(sizePolicy)
        self.siteAddressLabel.setObjectName(_fromUtf8("siteAddressLabel"))
        self.gridLayout.addWidget(self.siteAddressLabel, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.generalTab)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.encodingLabel = QtGui.QLabel(self.generalTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.encodingLabel.sizePolicy().hasHeightForWidth())
        self.encodingLabel.setSizePolicy(sizePolicy)
        self.encodingLabel.setObjectName(_fromUtf8("encodingLabel"))
        self.gridLayout.addWidget(self.encodingLabel, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.generalTab)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.sizeLabel = QtGui.QLabel(self.generalTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sizeLabel.sizePolicy().hasHeightForWidth())
        self.sizeLabel.setSizePolicy(sizePolicy)
        self.sizeLabel.setObjectName(_fromUtf8("sizeLabel"))
        self.gridLayout.addWidget(self.sizeLabel, 2, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.label_9 = QtGui.QLabel(self.generalTab)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.verticalLayout_2.addWidget(self.label_9)
        self.tagsTree = QtGui.QTreeWidget(self.generalTab)
        self.tagsTree.setAlternatingRowColors(True)
        self.tagsTree.setRootIsDecorated(False)
        self.tagsTree.setItemsExpandable(False)
        self.tagsTree.setWordWrap(False)
        self.tagsTree.setObjectName(_fromUtf8("tagsTree"))
        self.verticalLayout_2.addWidget(self.tagsTree)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_4 = QtGui.QLabel(self.generalTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
        self.label_4.setSizePolicy(sizePolicy)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout_2.addWidget(self.label_4, 0, 0, 1, 4)
        spacerItem = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem, 1, 0, 1, 1)
        self.securityLabel = QtGui.QLabel(self.generalTab)
        self.securityLabel.setText(_fromUtf8(""))
        self.securityLabel.setObjectName(_fromUtf8("securityLabel"))
        self.gridLayout_2.addWidget(self.securityLabel, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 1, 2, 1, 1)
        self.securityDetailsButton = QtGui.QPushButton(self.generalTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.securityDetailsButton.sizePolicy().hasHeightForWidth())
        self.securityDetailsButton.setSizePolicy(sizePolicy)
        self.securityDetailsButton.setAutoDefault(False)
        self.securityDetailsButton.setObjectName(_fromUtf8("securityDetailsButton"))
        self.gridLayout_2.addWidget(self.securityDetailsButton, 1, 3, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_2)
        self.tabWidget.addTab(self.generalTab, _fromUtf8(""))
        self.mediaTab = QtGui.QWidget()
        self.mediaTab.setObjectName(_fromUtf8("mediaTab"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.mediaTab)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.imagesTree = QtGui.QTreeWidget(self.mediaTab)
        self.imagesTree.setAlternatingRowColors(True)
        self.imagesTree.setRootIsDecorated(False)
        self.imagesTree.setItemsExpandable(False)
        self.imagesTree.setObjectName(_fromUtf8("imagesTree"))
        self.verticalLayout_4.addWidget(self.imagesTree)
        self.label_5 = QtGui.QLabel(self.mediaTab)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout_4.addWidget(self.label_5)
        self.imagePreview = QtGui.QGraphicsView(self.mediaTab)
        self.imagePreview.setObjectName(_fromUtf8("imagePreview"))
        self.verticalLayout_4.addWidget(self.imagePreview)
        self.tabWidget.addTab(self.mediaTab, _fromUtf8(""))
        self.databasesTab = QtGui.QWidget()
        self.databasesTab.setObjectName(_fromUtf8("databasesTab"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.databasesTab)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.databasesList = QtGui.QListWidget(self.databasesTab)
        self.databasesList.setObjectName(_fromUtf8("databasesList"))
        self.verticalLayout_5.addWidget(self.databasesList)
        self.label_10 = QtGui.QLabel(self.databasesTab)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.verticalLayout_5.addWidget(self.label_10)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_6 = QtGui.QLabel(self.databasesTab)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_3.addWidget(self.label_6, 0, 0, 1, 1)
        self.databaseName = QtGui.QLabel(self.databasesTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.databaseName.sizePolicy().hasHeightForWidth())
        self.databaseName.setSizePolicy(sizePolicy)
        self.databaseName.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.databaseName.setObjectName(_fromUtf8("databaseName"))
        self.gridLayout_3.addWidget(self.databaseName, 0, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.databasesTab)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_3.addWidget(self.label_7, 1, 0, 1, 1)
        self.databasePath = QtGui.QLabel(self.databasesTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.databasePath.sizePolicy().hasHeightForWidth())
        self.databasePath.setSizePolicy(sizePolicy)
        self.databasePath.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.databasePath.setObjectName(_fromUtf8("databasePath"))
        self.gridLayout_3.addWidget(self.databasePath, 1, 1, 1, 1)
        self.label_8 = QtGui.QLabel(self.databasesTab)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_3.addWidget(self.label_8, 2, 0, 1, 1)
        self.databaseSize = QtGui.QLabel(self.databasesTab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.databaseSize.sizePolicy().hasHeightForWidth())
        self.databaseSize.setSizePolicy(sizePolicy)
        self.databaseSize.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.databaseSize.setObjectName(_fromUtf8("databaseSize"))
        self.gridLayout_3.addWidget(self.databaseSize, 2, 1, 1, 1)
        self.verticalLayout_5.addLayout(self.gridLayout_3)
        spacerItem2 = QtGui.QSpacerItem(20, 161, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem2)
        self.tabWidget.addTab(self.databasesTab, _fromUtf8(""))
        self.securityTab = QtGui.QWidget()
        self.securityTab.setObjectName(_fromUtf8("securityTab"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.securityTab)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.sslWidget = E5SslCertificatesInfoWidget(self.securityTab)
        self.sslWidget.setObjectName(_fromUtf8("sslWidget"))
        self.verticalLayout_3.addWidget(self.sslWidget)
        self.tabWidget.addTab(self.securityTab, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.buttonBox = QtGui.QDialogButtonBox(SiteInfoDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(SiteInfoDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SiteInfoDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SiteInfoDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SiteInfoDialog)
        SiteInfoDialog.setTabOrder(self.tabWidget, self.tagsTree)
        SiteInfoDialog.setTabOrder(self.tagsTree, self.securityDetailsButton)
        SiteInfoDialog.setTabOrder(self.securityDetailsButton, self.imagesTree)
        SiteInfoDialog.setTabOrder(self.imagesTree, self.imagePreview)
        SiteInfoDialog.setTabOrder(self.imagePreview, self.databasesList)
        SiteInfoDialog.setTabOrder(self.databasesList, self.buttonBox)

    def retranslateUi(self, SiteInfoDialog):
        SiteInfoDialog.setWindowTitle(_translate("SiteInfoDialog", "Site Information", None))
        self.label.setText(_translate("SiteInfoDialog", "Site Address:", None))
        self.label_2.setText(_translate("SiteInfoDialog", "Encoding:", None))
        self.label_3.setText(_translate("SiteInfoDialog", "Size:", None))
        self.label_9.setText(_translate("SiteInfoDialog", "Meta tags of site:", None))
        self.tagsTree.headerItem().setText(0, _translate("SiteInfoDialog", "Tag", None))
        self.tagsTree.headerItem().setText(1, _translate("SiteInfoDialog", "Value", None))
        self.label_4.setText(_translate("SiteInfoDialog", "<b>Security information</b>", None))
        self.securityDetailsButton.setText(_translate("SiteInfoDialog", "Details", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.generalTab), _translate("SiteInfoDialog", "General", None))
        self.imagesTree.headerItem().setText(0, _translate("SiteInfoDialog", "Image", None))
        self.imagesTree.headerItem().setText(1, _translate("SiteInfoDialog", "Image Address", None))
        self.label_5.setText(_translate("SiteInfoDialog", "<b>Preview</b>", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.mediaTab), _translate("SiteInfoDialog", "Media", None))
        self.databasesList.setToolTip(_translate("SiteInfoDialog", "Shows a list of databases used by the site", None))
        self.label_10.setText(_translate("SiteInfoDialog", "<b>Database details</b>", None))
        self.label_6.setText(_translate("SiteInfoDialog", "Name:", None))
        self.databaseName.setText(_translate("SiteInfoDialog", "<database not selected>", None))
        self.label_7.setText(_translate("SiteInfoDialog", "Path:", None))
        self.databasePath.setText(_translate("SiteInfoDialog", "<database not selected>", None))
        self.label_8.setText(_translate("SiteInfoDialog", "Size:", None))
        self.databaseSize.setText(_translate("SiteInfoDialog", "<database not selected>", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.databasesTab), _translate("SiteInfoDialog", "Databases", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.securityTab), _translate("SiteInfoDialog", "Security", None))

from E5Network.E5SslCertificatesInfoWidget import E5SslCertificatesInfoWidget
