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

# Form implementation generated from reading ui file 'eric/WebBrowser/SiteInfo/SiteInfoDialog.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_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.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.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.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.imagesTree)
        SiteInfoDialog.setTabOrder(self.imagesTree, self.imagePreview)
        SiteInfoDialog.setTabOrder(self.imagePreview, 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_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.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))

