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

# Form implementation generated from reading ui file 'eric/Helpviewer/FlashCookieManager/FlashCookieManagerDialog.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_FlashCookieManagerDialog(object):
    def setupUi(self, FlashCookieManagerDialog):
        FlashCookieManagerDialog.setObjectName(_fromUtf8("FlashCookieManagerDialog"))
        FlashCookieManagerDialog.resize(550, 500)
        FlashCookieManagerDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(FlashCookieManagerDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.cookiesTabWidget = QtGui.QTabWidget(FlashCookieManagerDialog)
        self.cookiesTabWidget.setObjectName(_fromUtf8("cookiesTabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tab)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_4 = QtGui.QLabel(self.tab)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.filterEdit = QtGui.QLineEdit(self.tab)
        self.filterEdit.setObjectName(_fromUtf8("filterEdit"))
        self.gridLayout.addWidget(self.filterEdit, 0, 1, 1, 1)
        self.label_24 = QtGui.QLabel(self.tab)
        self.label_24.setWordWrap(True)
        self.label_24.setObjectName(_fromUtf8("label_24"))
        self.gridLayout.addWidget(self.label_24, 1, 0, 1, 2)
        self.cookiesList = QtGui.QTreeWidget(self.tab)
        self.cookiesList.setAlternatingRowColors(True)
        self.cookiesList.setObjectName(_fromUtf8("cookiesList"))
        self.gridLayout.addWidget(self.cookiesList, 2, 0, 1, 2)
        self.gridLayout_4.addLayout(self.gridLayout, 0, 0, 1, 1)
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        spacerItem = QtGui.QSpacerItem(158, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem, 0, 0, 1, 1)
        self.reloadButton = QtGui.QPushButton(self.tab)
        self.reloadButton.setObjectName(_fromUtf8("reloadButton"))
        self.gridLayout_3.addWidget(self.reloadButton, 0, 1, 1, 1)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_6 = QtGui.QLabel(self.tab)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_6.sizePolicy().hasHeightForWidth())
        self.label_6.setSizePolicy(sizePolicy)
        self.label_6.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout_2.addWidget(self.label_6, 0, 0, 1, 1)
        self.nameLabel = QtGui.QLabel(self.tab)
        self.nameLabel.setObjectName(_fromUtf8("nameLabel"))
        self.gridLayout_2.addWidget(self.nameLabel, 0, 1, 1, 1)
        self.labelSize_2 = QtGui.QLabel(self.tab)
        self.labelSize_2.setObjectName(_fromUtf8("labelSize_2"))
        self.gridLayout_2.addWidget(self.labelSize_2, 1, 0, 1, 1)
        self.sizeLabel = QtGui.QLabel(self.tab)
        self.sizeLabel.setObjectName(_fromUtf8("sizeLabel"))
        self.gridLayout_2.addWidget(self.sizeLabel, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.tab)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout_2.addWidget(self.label_7, 2, 0, 1, 1)
        self.originLabel = QtGui.QLabel(self.tab)
        self.originLabel.setObjectName(_fromUtf8("originLabel"))
        self.gridLayout_2.addWidget(self.originLabel, 2, 1, 1, 1)
        self.label_22 = QtGui.QLabel(self.tab)
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.gridLayout_2.addWidget(self.label_22, 3, 0, 1, 1)
        self.modifiedLabel = QtGui.QLabel(self.tab)
        self.modifiedLabel.setObjectName(_fromUtf8("modifiedLabel"))
        self.gridLayout_2.addWidget(self.modifiedLabel, 3, 1, 1, 1)
        self.gridLayout_3.addLayout(self.gridLayout_2, 1, 0, 1, 2)
        self.label = QtGui.QLabel(self.tab)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout_3.addWidget(self.label, 2, 0, 1, 2)
        self.contentsEdit = QtGui.QPlainTextEdit(self.tab)
        self.contentsEdit.setTabChangesFocus(True)
        self.contentsEdit.setLineWrapMode(QtGui.QPlainTextEdit.NoWrap)
        self.contentsEdit.setReadOnly(True)
        self.contentsEdit.setTextInteractionFlags(QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
        self.contentsEdit.setObjectName(_fromUtf8("contentsEdit"))
        self.gridLayout_3.addWidget(self.contentsEdit, 3, 0, 1, 2)
        self.gridLayout_4.addLayout(self.gridLayout_3, 0, 1, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_2.addWidget(self.label_2)
        self.pathEdit = QtGui.QLineEdit(self.tab)
        self.pathEdit.setReadOnly(True)
        self.pathEdit.setObjectName(_fromUtf8("pathEdit"))
        self.horizontalLayout_2.addWidget(self.pathEdit)
        self.gridLayout_4.addLayout(self.horizontalLayout_2, 1, 0, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.removeAllButton = QtGui.QPushButton(self.tab)
        self.removeAllButton.setObjectName(_fromUtf8("removeAllButton"))
        self.horizontalLayout.addWidget(self.removeAllButton)
        self.removeButton = QtGui.QPushButton(self.tab)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.horizontalLayout.addWidget(self.removeButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.gridLayout_4.addLayout(self.horizontalLayout, 2, 0, 1, 2)
        self.cookiesTabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.gridLayout_5 = QtGui.QGridLayout(self.tab_2)
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.label_3 = QtGui.QLabel(self.tab_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout_5.addWidget(self.label_3, 0, 0, 1, 1)
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout_5.addWidget(self.label_5, 0, 1, 1, 1)
        self.label_17 = QtGui.QLabel(self.tab_2)
        self.label_17.setWordWrap(True)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.gridLayout_5.addWidget(self.label_17, 1, 0, 1, 1)
        self.label_18 = QtGui.QLabel(self.tab_2)
        self.label_18.setWordWrap(True)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.gridLayout_5.addWidget(self.label_18, 1, 1, 1, 1)
        self.whiteList = QtGui.QListWidget(self.tab_2)
        self.whiteList.setAlternatingRowColors(True)
        self.whiteList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.whiteList.setObjectName(_fromUtf8("whiteList"))
        self.gridLayout_5.addWidget(self.whiteList, 2, 0, 1, 1)
        self.blackList = QtGui.QListWidget(self.tab_2)
        self.blackList.setAlternatingRowColors(True)
        self.blackList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.blackList.setObjectName(_fromUtf8("blackList"))
        self.gridLayout_5.addWidget(self.blackList, 2, 1, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.removeWhiteButton = QtGui.QPushButton(self.tab_2)
        self.removeWhiteButton.setObjectName(_fromUtf8("removeWhiteButton"))
        self.horizontalLayout_3.addWidget(self.removeWhiteButton)
        self.addWhiteButton = QtGui.QPushButton(self.tab_2)
        self.addWhiteButton.setObjectName(_fromUtf8("addWhiteButton"))
        self.horizontalLayout_3.addWidget(self.addWhiteButton)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem3)
        self.gridLayout_5.addLayout(self.horizontalLayout_3, 3, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem4)
        self.removeBlackButton = QtGui.QPushButton(self.tab_2)
        self.removeBlackButton.setObjectName(_fromUtf8("removeBlackButton"))
        self.horizontalLayout_4.addWidget(self.removeBlackButton)
        self.addBlackButton = QtGui.QPushButton(self.tab_2)
        self.addBlackButton.setObjectName(_fromUtf8("addBlackButton"))
        self.horizontalLayout_4.addWidget(self.addBlackButton)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem5)
        self.gridLayout_5.addLayout(self.horizontalLayout_4, 3, 1, 1, 1)
        self.cookiesTabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.verticalLayout.addWidget(self.cookiesTabWidget)
        self.buttonBox = QtGui.QDialogButtonBox(FlashCookieManagerDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(FlashCookieManagerDialog)
        self.cookiesTabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), FlashCookieManagerDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FlashCookieManagerDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(FlashCookieManagerDialog)
        FlashCookieManagerDialog.setTabOrder(self.cookiesTabWidget, self.filterEdit)
        FlashCookieManagerDialog.setTabOrder(self.filterEdit, self.cookiesList)
        FlashCookieManagerDialog.setTabOrder(self.cookiesList, self.reloadButton)
        FlashCookieManagerDialog.setTabOrder(self.reloadButton, self.contentsEdit)
        FlashCookieManagerDialog.setTabOrder(self.contentsEdit, self.pathEdit)
        FlashCookieManagerDialog.setTabOrder(self.pathEdit, self.removeAllButton)
        FlashCookieManagerDialog.setTabOrder(self.removeAllButton, self.removeButton)
        FlashCookieManagerDialog.setTabOrder(self.removeButton, self.whiteList)
        FlashCookieManagerDialog.setTabOrder(self.whiteList, self.removeWhiteButton)
        FlashCookieManagerDialog.setTabOrder(self.removeWhiteButton, self.addWhiteButton)
        FlashCookieManagerDialog.setTabOrder(self.addWhiteButton, self.blackList)
        FlashCookieManagerDialog.setTabOrder(self.blackList, self.removeBlackButton)
        FlashCookieManagerDialog.setTabOrder(self.removeBlackButton, self.addBlackButton)

    def retranslateUi(self, FlashCookieManagerDialog):
        FlashCookieManagerDialog.setWindowTitle(_translate("FlashCookieManagerDialog", "Flash Cookie Management", None))
        self.label_4.setText(_translate("FlashCookieManagerDialog", "Filter:", None))
        self.filterEdit.setToolTip(_translate("FlashCookieManagerDialog", "Enter cookie filter string", None))
        self.label_24.setText(_translate("FlashCookieManagerDialog", "Stored Flash Cookies:", None))
        self.cookiesList.headerItem().setText(0, _translate("FlashCookieManagerDialog", "Origin", None))
        self.reloadButton.setToolTip(_translate("FlashCookieManagerDialog", "Press to reload Flash cookies from disk", None))
        self.reloadButton.setText(_translate("FlashCookieManagerDialog", "Reload", None))
        self.label_6.setText(_translate("FlashCookieManagerDialog", "Name:", None))
        self.nameLabel.setText(_translate("FlashCookieManagerDialog", "<no flash cookie selected>", None))
        self.labelSize_2.setText(_translate("FlashCookieManagerDialog", "Size:", None))
        self.sizeLabel.setText(_translate("FlashCookieManagerDialog", "<no flash cookie selected>", None))
        self.label_7.setText(_translate("FlashCookieManagerDialog", "Origin:", None))
        self.originLabel.setText(_translate("FlashCookieManagerDialog", "<no flash cookie selected>", None))
        self.label_22.setText(_translate("FlashCookieManagerDialog", "Last Modified:", None))
        self.modifiedLabel.setText(_translate("FlashCookieManagerDialog", "<no flash cookie selected>", None))
        self.label.setText(_translate("FlashCookieManagerDialog", "Contents:", None))
        self.label_2.setText(_translate("FlashCookieManagerDialog", "Path:", None))
        self.removeAllButton.setToolTip(_translate("FlashCookieManagerDialog", "Press to remove all flash cookies", None))
        self.removeAllButton.setText(_translate("FlashCookieManagerDialog", "Remove All Cookies", None))
        self.removeButton.setToolTip(_translate("FlashCookieManagerDialog", "Press to remove selected flash cookies", None))
        self.removeButton.setText(_translate("FlashCookieManagerDialog", "Remove Cookie", None))
        self.cookiesTabWidget.setTabText(self.cookiesTabWidget.indexOf(self.tab), _translate("FlashCookieManagerDialog", "Stored Flash Cookies", None))
        self.label_3.setText(_translate("FlashCookieManagerDialog", "<b>Flash cookie whitelist</b>", None))
        self.label_5.setText(_translate("FlashCookieManagerDialog", "<b>Flash cookie blacklist</b>", None))
        self.label_17.setText(_translate("FlashCookieManagerDialog", "Flash cookies from these origins will not be deleted automatically. (Also detection of them will not be notified to user.)", None))
        self.label_18.setText(_translate("FlashCookieManagerDialog", "Flash cookies from these origins will be deleted without any notification.", None))
        self.whiteList.setSortingEnabled(True)
        self.blackList.setSortingEnabled(True)
        self.removeWhiteButton.setToolTip(_translate("FlashCookieManagerDialog", "Press to remove selected origins from the whitelist", None))
        self.removeWhiteButton.setText(_translate("FlashCookieManagerDialog", "Remove", None))
        self.addWhiteButton.setToolTip(_translate("FlashCookieManagerDialog", "Press to add an origin to the whitelist", None))
        self.addWhiteButton.setText(_translate("FlashCookieManagerDialog", "Add...", None))
        self.removeBlackButton.setToolTip(_translate("FlashCookieManagerDialog", "Press to remove selected origins from the blacklist", None))
        self.removeBlackButton.setText(_translate("FlashCookieManagerDialog", "Remove", None))
        self.addBlackButton.setToolTip(_translate("FlashCookieManagerDialog", "Press to add an origin to the blacklist", None))
        self.addBlackButton.setText(_translate("FlashCookieManagerDialog", "Add...", None))
        self.cookiesTabWidget.setTabText(self.cookiesTabWidget.indexOf(self.tab_2), _translate("FlashCookieManagerDialog", "Flash Cookies Lists", None))

