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

# Form implementation generated from reading ui file 'eric/WebBrowser/SafeBrowsing/SafeBrowsingDialog.ui'
#
# Created by: PyQt5 UI code generator 5.9.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_SafeBrowsingDialog(object):
    def setupUi(self, SafeBrowsingDialog):
        SafeBrowsingDialog.setObjectName("SafeBrowsingDialog")
        SafeBrowsingDialog.resize(650, 565)
        SafeBrowsingDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(SafeBrowsingDialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.iconLabel = QtWidgets.QLabel(SafeBrowsingDialog)
        self.iconLabel.setMinimumSize(QtCore.QSize(48, 48))
        self.iconLabel.setText("Icon")
        self.iconLabel.setObjectName("iconLabel")
        self.horizontalLayout_3.addWidget(self.iconLabel)
        self.label_2 = QtWidgets.QLabel(SafeBrowsingDialog)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.gsbGroupBox = QtWidgets.QGroupBox(SafeBrowsingDialog)
        self.gsbGroupBox.setCheckable(True)
        self.gsbGroupBox.setObjectName("gsbGroupBox")
        self.gridLayout = QtWidgets.QGridLayout(self.gsbGroupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.gsbHelpButton = QtWidgets.QPushButton(self.gsbGroupBox)
        self.gsbHelpButton.setObjectName("gsbHelpButton")
        self.gridLayout.addWidget(self.gsbHelpButton, 3, 0, 1, 2)
        self.gsbApiKeyEdit = QtWidgets.QLineEdit(self.gsbGroupBox)
        self.gsbApiKeyEdit.setObjectName("gsbApiKeyEdit")
        self.gridLayout.addWidget(self.gsbApiKeyEdit, 2, 1, 1, 1)
        self.gsbFilterPlatformCheckBox = QtWidgets.QCheckBox(self.gsbGroupBox)
        self.gsbFilterPlatformCheckBox.setObjectName("gsbFilterPlatformCheckBox")
        self.gridLayout.addWidget(self.gsbFilterPlatformCheckBox, 0, 0, 1, 2)
        self.gsbAutoUpdateCheckBox = QtWidgets.QCheckBox(self.gsbGroupBox)
        self.gsbAutoUpdateCheckBox.setObjectName("gsbAutoUpdateCheckBox")
        self.gridLayout.addWidget(self.gsbAutoUpdateCheckBox, 1, 0, 1, 2)
        self.label_14 = QtWidgets.QLabel(self.gsbGroupBox)
        self.label_14.setObjectName("label_14")
        self.gridLayout.addWidget(self.label_14, 2, 0, 1, 1)
        self.verticalLayout_2.addWidget(self.gsbGroupBox)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem2)
        self.saveButton = QtWidgets.QPushButton(SafeBrowsingDialog)
        self.saveButton.setObjectName("saveButton")
        self.horizontalLayout_2.addWidget(self.saveButton)
        spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.line = QtWidgets.QFrame(SafeBrowsingDialog)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_2.addWidget(self.line)
        self.groupBox = QtWidgets.QGroupBox(SafeBrowsingDialog)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.updateCacheButton = QtWidgets.QPushButton(self.groupBox)
        self.updateCacheButton.setObjectName("updateCacheButton")
        self.horizontalLayout.addWidget(self.updateCacheButton)
        self.clearCacheButton = QtWidgets.QPushButton(self.groupBox)
        self.clearCacheButton.setObjectName("clearCacheButton")
        self.horizontalLayout.addWidget(self.clearCacheButton)
        self.line_3 = QtWidgets.QFrame(self.groupBox)
        self.line_3.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.horizontalLayout.addWidget(self.line_3)
        self.showUpdateTimeButton = QtWidgets.QPushButton(self.groupBox)
        self.showUpdateTimeButton.setObjectName("showUpdateTimeButton")
        self.horizontalLayout.addWidget(self.showUpdateTimeButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.progressLabel = QtWidgets.QLabel(self.groupBox)
        self.progressLabel.setText("")
        self.progressLabel.setWordWrap(True)
        self.progressLabel.setObjectName("progressLabel")
        self.verticalLayout.addWidget(self.progressLabel)
        self.progressBar = QtWidgets.QProgressBar(self.groupBox)
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName("progressBar")
        self.verticalLayout.addWidget(self.progressBar)
        self.verticalLayout_2.addWidget(self.groupBox)
        self.line_2 = QtWidgets.QFrame(SafeBrowsingDialog)
        self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout_2.addWidget(self.line_2)
        self.groupBox_2 = QtWidgets.QGroupBox(SafeBrowsingDialog)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox_2)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
        self.urlEdit = E5ClearableLineEdit(self.groupBox_2)
        self.urlEdit.setObjectName("urlEdit")
        self.gridLayout_2.addWidget(self.urlEdit, 0, 1, 1, 1)
        self.urlCheckButton = QtWidgets.QPushButton(self.groupBox_2)
        self.urlCheckButton.setEnabled(False)
        self.urlCheckButton.setObjectName("urlCheckButton")
        self.gridLayout_2.addWidget(self.urlCheckButton, 1, 0, 1, 2)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.buttonBox = QtWidgets.QDialogButtonBox(SafeBrowsingDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(SafeBrowsingDialog)
        QtCore.QMetaObject.connectSlotsByName(SafeBrowsingDialog)
        SafeBrowsingDialog.setTabOrder(self.gsbGroupBox, self.gsbFilterPlatformCheckBox)
        SafeBrowsingDialog.setTabOrder(self.gsbFilterPlatformCheckBox, self.gsbAutoUpdateCheckBox)
        SafeBrowsingDialog.setTabOrder(self.gsbAutoUpdateCheckBox, self.gsbApiKeyEdit)
        SafeBrowsingDialog.setTabOrder(self.gsbApiKeyEdit, self.gsbHelpButton)
        SafeBrowsingDialog.setTabOrder(self.gsbHelpButton, self.saveButton)
        SafeBrowsingDialog.setTabOrder(self.saveButton, self.updateCacheButton)
        SafeBrowsingDialog.setTabOrder(self.updateCacheButton, self.clearCacheButton)
        SafeBrowsingDialog.setTabOrder(self.clearCacheButton, self.showUpdateTimeButton)
        SafeBrowsingDialog.setTabOrder(self.showUpdateTimeButton, self.urlEdit)
        SafeBrowsingDialog.setTabOrder(self.urlEdit, self.urlCheckButton)

    def retranslateUi(self, SafeBrowsingDialog):
        _translate = QtCore.QCoreApplication.translate
        SafeBrowsingDialog.setWindowTitle(_translate("SafeBrowsingDialog", "Safe Browsing Management"))
        self.label_2.setText(_translate("SafeBrowsingDialog", "<h2>Google Safe Browsing</h2>"))
        self.gsbGroupBox.setToolTip(_translate("SafeBrowsingDialog", "Select to enable the Google safe browsing support"))
        self.gsbGroupBox.setTitle(_translate("SafeBrowsingDialog", "Enable Google Safe Browsing"))
        self.gsbHelpButton.setToolTip(_translate("SafeBrowsingDialog", "Press to get some help about obtaining the API key"))
        self.gsbHelpButton.setText(_translate("SafeBrowsingDialog", "Google Safe Browsing API Help"))
        self.gsbApiKeyEdit.setToolTip(_translate("SafeBrowsingDialog", "Enter the Google Safe Browsing API key"))
        self.gsbFilterPlatformCheckBox.setToolTip(_translate("SafeBrowsingDialog", "Select to check against the current platform only"))
        self.gsbFilterPlatformCheckBox.setText(_translate("SafeBrowsingDialog", "Adjust threat lists to current platform"))
        self.gsbAutoUpdateCheckBox.setToolTip(_translate("SafeBrowsingDialog", "Select to update the threat lists automatically when fair use period has expired"))
        self.gsbAutoUpdateCheckBox.setText(_translate("SafeBrowsingDialog", "Update threat lists automatically"))
        self.label_14.setText(_translate("SafeBrowsingDialog", "API Key:"))
        self.saveButton.setToolTip(_translate("SafeBrowsingDialog", "Press to save the current configuration settings"))
        self.saveButton.setText(_translate("SafeBrowsingDialog", "Save Configuration"))
        self.groupBox.setTitle(_translate("SafeBrowsingDialog", "Manage Local Cache"))
        self.updateCacheButton.setToolTip(_translate("SafeBrowsingDialog", "Press to update the local cache database"))
        self.updateCacheButton.setText(_translate("SafeBrowsingDialog", "Update Cache"))
        self.clearCacheButton.setToolTip(_translate("SafeBrowsingDialog", "Press to clear the local cache database"))
        self.clearCacheButton.setText(_translate("SafeBrowsingDialog", "Clear Cache"))
        self.showUpdateTimeButton.setToolTip(_translate("SafeBrowsingDialog", "Press to see, when the next threat list update will be done"))
        self.showUpdateTimeButton.setText(_translate("SafeBrowsingDialog", "Show Update Time"))
        self.progressBar.setFormat(_translate("SafeBrowsingDialog", "%v/%m"))
        self.groupBox_2.setTitle(_translate("SafeBrowsingDialog", "URL Check"))
        self.label.setText(_translate("SafeBrowsingDialog", "URL:"))
        self.urlCheckButton.setToolTip(_translate("SafeBrowsingDialog", "Press to check the entered URL"))
        self.urlCheckButton.setText(_translate("SafeBrowsingDialog", "Check URL"))

from E5Gui.E5LineEdit import E5ClearableLineEdit
