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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/HelpFlashCookieManagerPage.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_HelpFlashCookieManagerPage(object):
    def setupUi(self, HelpFlashCookieManagerPage):
        HelpFlashCookieManagerPage.setObjectName(_fromUtf8("HelpFlashCookieManagerPage"))
        HelpFlashCookieManagerPage.resize(588, 419)
        self.verticalLayout = QtGui.QVBoxLayout(HelpFlashCookieManagerPage)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.headerLabel = QtGui.QLabel(HelpFlashCookieManagerPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout.addWidget(self.headerLabel)
        self.line9 = QtGui.QFrame(HelpFlashCookieManagerPage)
        self.line9.setFrameShape(QtGui.QFrame.HLine)
        self.line9.setFrameShadow(QtGui.QFrame.Sunken)
        self.line9.setFrameShape(QtGui.QFrame.HLine)
        self.line9.setObjectName(_fromUtf8("line9"))
        self.verticalLayout.addWidget(self.line9)
        self.groupBox = QtGui.QGroupBox(HelpFlashCookieManagerPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.flashDataPathPicker = E5PathPicker(self.groupBox)
        self.flashDataPathPicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.flashDataPathPicker.setObjectName(_fromUtf8("flashDataPathPicker"))
        self.verticalLayout_2.addWidget(self.flashDataPathPicker)
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_2.addWidget(self.label)
        self.verticalLayout.addWidget(self.groupBox)
        self.autoModeGroup = QtGui.QGroupBox(HelpFlashCookieManagerPage)
        self.autoModeGroup.setCheckable(True)
        self.autoModeGroup.setChecked(False)
        self.autoModeGroup.setObjectName(_fromUtf8("autoModeGroup"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.autoModeGroup)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.autoModeLabel = QtGui.QLabel(self.autoModeGroup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.autoModeLabel.sizePolicy().hasHeightForWidth())
        self.autoModeLabel.setSizePolicy(sizePolicy)
        self.autoModeLabel.setWordWrap(True)
        self.autoModeLabel.setObjectName(_fromUtf8("autoModeLabel"))
        self.horizontalLayout.addWidget(self.autoModeLabel)
        self.verticalLayout.addWidget(self.autoModeGroup)
        self.notificationGroup = QtGui.QGroupBox(HelpFlashCookieManagerPage)
        self.notificationGroup.setFlat(False)
        self.notificationGroup.setCheckable(True)
        self.notificationGroup.setChecked(False)
        self.notificationGroup.setObjectName(_fromUtf8("notificationGroup"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.notificationGroup)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.notificationLabel = QtGui.QLabel(self.notificationGroup)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.notificationLabel.sizePolicy().hasHeightForWidth())
        self.notificationLabel.setSizePolicy(sizePolicy)
        self.notificationLabel.setWordWrap(True)
        self.notificationLabel.setObjectName(_fromUtf8("notificationLabel"))
        self.horizontalLayout_2.addWidget(self.notificationLabel)
        self.verticalLayout.addWidget(self.notificationGroup)
        self.deleteGroup = QtGui.QGroupBox(HelpFlashCookieManagerPage)
        self.deleteGroup.setCheckable(True)
        self.deleteGroup.setChecked(False)
        self.deleteGroup.setObjectName(_fromUtf8("deleteGroup"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.deleteGroup)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.deleteLabel = QtGui.QLabel(self.deleteGroup)
        self.deleteLabel.setWordWrap(True)
        self.deleteLabel.setObjectName(_fromUtf8("deleteLabel"))
        self.horizontalLayout_3.addWidget(self.deleteLabel)
        self.verticalLayout.addWidget(self.deleteGroup)
        self.label_19 = QtGui.QLabel(HelpFlashCookieManagerPage)
        self.label_19.setWordWrap(True)
        self.label_19.setOpenExternalLinks(True)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.verticalLayout.addWidget(self.label_19)
        spacerItem = QtGui.QSpacerItem(20, 39, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)

        self.retranslateUi(HelpFlashCookieManagerPage)
        QtCore.QMetaObject.connectSlotsByName(HelpFlashCookieManagerPage)
        HelpFlashCookieManagerPage.setTabOrder(self.flashDataPathPicker, self.autoModeGroup)
        HelpFlashCookieManagerPage.setTabOrder(self.autoModeGroup, self.notificationGroup)
        HelpFlashCookieManagerPage.setTabOrder(self.notificationGroup, self.deleteGroup)

    def retranslateUi(self, HelpFlashCookieManagerPage):
        self.headerLabel.setText(_translate("HelpFlashCookieManagerPage", "<b>Configure Flash Cookies Manager</b>", None))
        self.groupBox.setTitle(_translate("HelpFlashCookieManagerPage", "Flash Data Path", None))
        self.label.setText(_translate("HelpFlashCookieManagerPage", "<b>Note</b>: You should select the directory that contains #SharedObject as a subfolder.", None))
        self.autoModeGroup.setToolTip(_translate("HelpFlashCookieManagerPage", "Select to activate auto mode", None))
        self.autoModeGroup.setTitle(_translate("HelpFlashCookieManagerPage", "Auto Mode Enabled", None))
        self.autoModeLabel.setText(_translate("HelpFlashCookieManagerPage", "The flash data directory will be checked regularly and flash cookies in the blacklist will be deleted automatically.", None))
        self.notificationGroup.setToolTip(_translate("HelpFlashCookieManagerPage", "Select to show a notification upon detection of new flash cookies", None))
        self.notificationGroup.setTitle(_translate("HelpFlashCookieManagerPage", "Notifications enabled", None))
        self.notificationLabel.setText(_translate("HelpFlashCookieManagerPage", "User will be notified for every new flash cookie that is not in blacklist and whitelist.", None))
        self.deleteGroup.setToolTip(_translate("HelpFlashCookieManagerPage", "Select to delete all flash cookies on startup and shutdown", None))
        self.deleteGroup.setTitle(_translate("HelpFlashCookieManagerPage", "Delete", None))
        self.deleteLabel.setText(_translate("HelpFlashCookieManagerPage", "Delete all flash cookies on exit/start (except those are in whitelist)", None))
        self.label_19.setText(_translate("HelpFlashCookieManagerPage", "<p><b>Note:</b> These settings are just applied to flash cookies.</p>", None))

from E5Gui.E5PathPicker import E5PathPicker
