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

# Form implementation generated from reading ui file 'eric/Helpviewer/CookieJar/CookiesConfigurationDialog.ui'
#
# Created: Sun Nov 11 19:51:02 2012
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_CookiesConfigurationDialog(object):
    def setupUi(self, CookiesConfigurationDialog):
        CookiesConfigurationDialog.setObjectName(_fromUtf8("CookiesConfigurationDialog"))
        CookiesConfigurationDialog.resize(500, 200)
        CookiesConfigurationDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(CookiesConfigurationDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.headerLabel = QtGui.QLabel(CookiesConfigurationDialog)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout.addWidget(self.headerLabel)
        self.line17 = QtGui.QFrame(CookiesConfigurationDialog)
        self.line17.setFrameShape(QtGui.QFrame.HLine)
        self.line17.setFrameShadow(QtGui.QFrame.Sunken)
        self.line17.setFrameShape(QtGui.QFrame.HLine)
        self.line17.setFrameShadow(QtGui.QFrame.Sunken)
        self.line17.setObjectName(_fromUtf8("line17"))
        self.verticalLayout.addWidget(self.line17)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(CookiesConfigurationDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.acceptCombo = QtGui.QComboBox(CookiesConfigurationDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.acceptCombo.sizePolicy().hasHeightForWidth())
        self.acceptCombo.setSizePolicy(sizePolicy)
        self.acceptCombo.setObjectName(_fromUtf8("acceptCombo"))
        self.acceptCombo.addItem(_fromUtf8(""))
        self.acceptCombo.addItem(_fromUtf8(""))
        self.acceptCombo.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.acceptCombo, 0, 1, 1, 1)
        self.exceptionsButton = QtGui.QPushButton(CookiesConfigurationDialog)
        self.exceptionsButton.setObjectName(_fromUtf8("exceptionsButton"))
        self.gridLayout.addWidget(self.exceptionsButton, 0, 2, 1, 1)
        self.label = QtGui.QLabel(CookiesConfigurationDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.keepUntilCombo = QtGui.QComboBox(CookiesConfigurationDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.keepUntilCombo.sizePolicy().hasHeightForWidth())
        self.keepUntilCombo.setSizePolicy(sizePolicy)
        self.keepUntilCombo.setObjectName(_fromUtf8("keepUntilCombo"))
        self.keepUntilCombo.addItem(_fromUtf8(""))
        self.keepUntilCombo.addItem(_fromUtf8(""))
        self.keepUntilCombo.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.keepUntilCombo, 1, 1, 1, 1)
        self.cookiesButton = QtGui.QPushButton(CookiesConfigurationDialog)
        self.cookiesButton.setObjectName(_fromUtf8("cookiesButton"))
        self.gridLayout.addWidget(self.cookiesButton, 1, 2, 1, 1)
        self.filterTrackingCookiesCheckbox = QtGui.QCheckBox(CookiesConfigurationDialog)
        self.filterTrackingCookiesCheckbox.setObjectName(_fromUtf8("filterTrackingCookiesCheckbox"))
        self.gridLayout.addWidget(self.filterTrackingCookiesCheckbox, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        spacerItem = QtGui.QSpacerItem(20, 10, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.buttonBox = QtGui.QDialogButtonBox(CookiesConfigurationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.label_2.setBuddy(self.acceptCombo)
        self.label.setBuddy(self.keepUntilCombo)

        self.retranslateUi(CookiesConfigurationDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), CookiesConfigurationDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CookiesConfigurationDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CookiesConfigurationDialog)
        CookiesConfigurationDialog.setTabOrder(self.acceptCombo, self.exceptionsButton)
        CookiesConfigurationDialog.setTabOrder(self.exceptionsButton, self.keepUntilCombo)
        CookiesConfigurationDialog.setTabOrder(self.keepUntilCombo, self.cookiesButton)
        CookiesConfigurationDialog.setTabOrder(self.cookiesButton, self.filterTrackingCookiesCheckbox)
        CookiesConfigurationDialog.setTabOrder(self.filterTrackingCookiesCheckbox, self.buttonBox)

    def retranslateUi(self, CookiesConfigurationDialog):
        CookiesConfigurationDialog.setWindowTitle(QtGui.QApplication.translate("CookiesConfigurationDialog", "Configure cookies", None, QtGui.QApplication.UnicodeUTF8))
        self.headerLabel.setText(QtGui.QApplication.translate("CookiesConfigurationDialog", "<b>Configure cookies</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("CookiesConfigurationDialog", "&Accept Cookies:", None, QtGui.QApplication.UnicodeUTF8))
        self.acceptCombo.setToolTip(QtGui.QApplication.translate("CookiesConfigurationDialog", "Select the accept policy", None, QtGui.QApplication.UnicodeUTF8))
        self.acceptCombo.setItemText(0, QtGui.QApplication.translate("CookiesConfigurationDialog", "Always", None, QtGui.QApplication.UnicodeUTF8))
        self.acceptCombo.setItemText(1, QtGui.QApplication.translate("CookiesConfigurationDialog", "Never", None, QtGui.QApplication.UnicodeUTF8))
        self.acceptCombo.setItemText(2, QtGui.QApplication.translate("CookiesConfigurationDialog", "Only from sites you navigate to", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionsButton.setToolTip(QtGui.QApplication.translate("CookiesConfigurationDialog", "Show a dialog to configure exceptions", None, QtGui.QApplication.UnicodeUTF8))
        self.exceptionsButton.setText(QtGui.QApplication.translate("CookiesConfigurationDialog", "&Exceptions...", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("CookiesConfigurationDialog", "&Keep until:", None, QtGui.QApplication.UnicodeUTF8))
        self.keepUntilCombo.setToolTip(QtGui.QApplication.translate("CookiesConfigurationDialog", "Select the keep policy", None, QtGui.QApplication.UnicodeUTF8))
        self.keepUntilCombo.setItemText(0, QtGui.QApplication.translate("CookiesConfigurationDialog", "They expire", None, QtGui.QApplication.UnicodeUTF8))
        self.keepUntilCombo.setItemText(1, QtGui.QApplication.translate("CookiesConfigurationDialog", "I exit the application", None, QtGui.QApplication.UnicodeUTF8))
        self.keepUntilCombo.setItemText(2, QtGui.QApplication.translate("CookiesConfigurationDialog", "At most 90 days", None, QtGui.QApplication.UnicodeUTF8))
        self.cookiesButton.setToolTip(QtGui.QApplication.translate("CookiesConfigurationDialog", "Show a dialog listing all cookies", None, QtGui.QApplication.UnicodeUTF8))
        self.cookiesButton.setText(QtGui.QApplication.translate("CookiesConfigurationDialog", "&Show Cookies...", None, QtGui.QApplication.UnicodeUTF8))
        self.filterTrackingCookiesCheckbox.setToolTip(QtGui.QApplication.translate("CookiesConfigurationDialog", "Select to filter tracking cookies", None, QtGui.QApplication.UnicodeUTF8))
        self.filterTrackingCookiesCheckbox.setText(QtGui.QApplication.translate("CookiesConfigurationDialog", "&Filter Tracking Cookies", None, QtGui.QApplication.UnicodeUTF8))

