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

# Form implementation generated from reading ui file 'eric/WebBrowser/CookieJar/CookiesDialog.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_CookiesDialog(object):
    def setupUi(self, CookiesDialog):
        CookiesDialog.setObjectName(_fromUtf8("CookiesDialog"))
        CookiesDialog.resize(500, 480)
        CookiesDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(CookiesDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.searchEdit = E5ClearableLineEdit(CookiesDialog)
        self.searchEdit.setMinimumSize(QtCore.QSize(300, 0))
        self.searchEdit.setObjectName(_fromUtf8("searchEdit"))
        self.horizontalLayout.addWidget(self.searchEdit)
        self.horizontalLayout_2.addLayout(self.horizontalLayout)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.cookiesTree = QtGui.QTreeWidget(CookiesDialog)
        self.cookiesTree.setAlternatingRowColors(True)
        self.cookiesTree.setAllColumnsShowFocus(True)
        self.cookiesTree.setObjectName(_fromUtf8("cookiesTree"))
        self.verticalLayout.addWidget(self.cookiesTree)
        self.frame = QtGui.QFrame(CookiesDialog)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.gridLayout = QtGui.QGridLayout(self.frame)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label = QtGui.QLabel(self.frame)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.domain = E5SqueezeLabel(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.domain.sizePolicy().hasHeightForWidth())
        self.domain.setSizePolicy(sizePolicy)
        self.domain.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.domain.setObjectName(_fromUtf8("domain"))
        self.gridLayout.addWidget(self.domain, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1)
        self.name = E5SqueezeLabel(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.name.sizePolicy().hasHeightForWidth())
        self.name.setSizePolicy(sizePolicy)
        self.name.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.name.setObjectName(_fromUtf8("name"))
        self.gridLayout.addWidget(self.name, 1, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.path = E5SqueezeLabel(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.path.sizePolicy().hasHeightForWidth())
        self.path.setSizePolicy(sizePolicy)
        self.path.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.path.setObjectName(_fromUtf8("path"))
        self.gridLayout.addWidget(self.path, 2, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.frame)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.secure = E5SqueezeLabel(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.secure.sizePolicy().hasHeightForWidth())
        self.secure.setSizePolicy(sizePolicy)
        self.secure.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.secure.setObjectName(_fromUtf8("secure"))
        self.gridLayout.addWidget(self.secure, 3, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.frame)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 4, 0, 1, 1)
        self.expiration = E5SqueezeLabel(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.expiration.sizePolicy().hasHeightForWidth())
        self.expiration.setSizePolicy(sizePolicy)
        self.expiration.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.expiration.setObjectName(_fromUtf8("expiration"))
        self.gridLayout.addWidget(self.expiration, 4, 1, 1, 1)
        self.label_6 = QtGui.QLabel(self.frame)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 5, 0, 1, 1)
        self.value = E5SqueezeLabel(self.frame)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.value.sizePolicy().hasHeightForWidth())
        self.value.setSizePolicy(sizePolicy)
        self.value.setWordWrap(True)
        self.value.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByMouse)
        self.value.setObjectName(_fromUtf8("value"))
        self.gridLayout.addWidget(self.value, 5, 1, 1, 1)
        self.verticalLayout.addWidget(self.frame)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.removeButton = QtGui.QPushButton(CookiesDialog)
        self.removeButton.setAutoDefault(False)
        self.removeButton.setObjectName(_fromUtf8("removeButton"))
        self.horizontalLayout_3.addWidget(self.removeButton)
        self.removeAllButton = QtGui.QPushButton(CookiesDialog)
        self.removeAllButton.setAutoDefault(False)
        self.removeAllButton.setObjectName(_fromUtf8("removeAllButton"))
        self.horizontalLayout_3.addWidget(self.removeAllButton)
        self.addButton = QtGui.QPushButton(CookiesDialog)
        self.addButton.setAutoDefault(False)
        self.addButton.setObjectName(_fromUtf8("addButton"))
        self.horizontalLayout_3.addWidget(self.addButton)
        spacerItem1 = QtGui.QSpacerItem(208, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.buttonBox = QtGui.QDialogButtonBox(CookiesDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(CookiesDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), CookiesDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CookiesDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CookiesDialog)
        CookiesDialog.setTabOrder(self.searchEdit, self.cookiesTree)
        CookiesDialog.setTabOrder(self.cookiesTree, self.removeButton)
        CookiesDialog.setTabOrder(self.removeButton, self.removeAllButton)
        CookiesDialog.setTabOrder(self.removeAllButton, self.addButton)

    def retranslateUi(self, CookiesDialog):
        CookiesDialog.setWindowTitle(_translate("CookiesDialog", "Cookies", None))
        self.searchEdit.setToolTip(_translate("CookiesDialog", "Enter search term for cookies", None))
        self.searchEdit.setPlaceholderText(_translate("CookiesDialog", "Search", None))
        self.cookiesTree.setSortingEnabled(True)
        self.cookiesTree.headerItem().setText(0, _translate("CookiesDialog", "Server", None))
        self.cookiesTree.headerItem().setText(1, _translate("CookiesDialog", "Cookie Name", None))
        self.label.setText(_translate("CookiesDialog", "Domain:", None))
        self.domain.setText(_translate("CookiesDialog", "<no cookie selected>", None))
        self.label_2.setText(_translate("CookiesDialog", "Name:", None))
        self.name.setText(_translate("CookiesDialog", "<no cookie selected>", None))
        self.label_3.setText(_translate("CookiesDialog", "Path:", None))
        self.path.setText(_translate("CookiesDialog", "<no cookie selected>", None))
        self.label_4.setText(_translate("CookiesDialog", "Secure:", None))
        self.secure.setText(_translate("CookiesDialog", "<no cookie selected>", None))
        self.label_5.setText(_translate("CookiesDialog", "Expiration:", None))
        self.expiration.setText(_translate("CookiesDialog", "<no cookie selected>", None))
        self.label_6.setText(_translate("CookiesDialog", "Value:", None))
        self.value.setText(_translate("CookiesDialog", "<no cookie selected>", None))
        self.removeButton.setToolTip(_translate("CookiesDialog", "Press to remove the selected cookie or list of cookies", None))
        self.removeButton.setText(_translate("CookiesDialog", "&Remove Cookies", None))
        self.removeAllButton.setToolTip(_translate("CookiesDialog", "Press to remove all cookies", None))
        self.removeAllButton.setText(_translate("CookiesDialog", "Remove &All", None))
        self.addButton.setToolTip(_translate("CookiesDialog", "Press to open the cookies exceptions dialog to add a new rule", None))
        self.addButton.setText(_translate("CookiesDialog", "Add R&ule...", None))

from E5Gui.E5LineEdit import E5ClearableLineEdit
from E5Gui.E5SqueezeLabels import E5SqueezeLabel
