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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/SecurityPage.ui'
#
# Created: Thu Mar  5 17:02:34 2015
#      by: PyQt4 UI code generator 4.11.3
#
# 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_SecurityPage(object):
    def setupUi(self, SecurityPage):
        SecurityPage.setObjectName(_fromUtf8("SecurityPage"))
        SecurityPage.resize(400, 300)
        self.verticalLayout_3 = QtGui.QVBoxLayout(SecurityPage)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.headerLabel = QtGui.QLabel(SecurityPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_3.addWidget(self.headerLabel)
        self.line1 = QtGui.QFrame(SecurityPage)
        self.line1.setFrameShape(QtGui.QFrame.HLine)
        self.line1.setFrameShadow(QtGui.QFrame.Sunken)
        self.line1.setFrameShape(QtGui.QFrame.HLine)
        self.line1.setFrameShadow(QtGui.QFrame.Sunken)
        self.line1.setObjectName(_fromUtf8("line1"))
        self.verticalLayout_3.addWidget(self.line1)
        self.groupBox = QtGui.QGroupBox(SecurityPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.savePasswordsCheckBox = QtGui.QCheckBox(self.groupBox)
        self.savePasswordsCheckBox.setObjectName(_fromUtf8("savePasswordsCheckBox"))
        self.verticalLayout.addWidget(self.savePasswordsCheckBox)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.masterPasswordCheckBox = QtGui.QCheckBox(self.groupBox)
        self.masterPasswordCheckBox.setObjectName(_fromUtf8("masterPasswordCheckBox"))
        self.horizontalLayout.addWidget(self.masterPasswordCheckBox)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.masterPasswordButton = QtGui.QPushButton(self.groupBox)
        self.masterPasswordButton.setEnabled(False)
        self.masterPasswordButton.setObjectName(_fromUtf8("masterPasswordButton"))
        self.horizontalLayout.addWidget(self.masterPasswordButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.groupBox_3 = QtGui.QGroupBox(SecurityPage)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.dnsPrefetchCheckBox = QtGui.QCheckBox(self.groupBox_3)
        self.dnsPrefetchCheckBox.setObjectName(_fromUtf8("dnsPrefetchCheckBox"))
        self.verticalLayout_2.addWidget(self.dnsPrefetchCheckBox)
        self.verticalLayout_3.addWidget(self.groupBox_3)
        spacerItem1 = QtGui.QSpacerItem(20, 113, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem1)

        self.retranslateUi(SecurityPage)
        QtCore.QMetaObject.connectSlotsByName(SecurityPage)
        SecurityPage.setTabOrder(self.savePasswordsCheckBox, self.masterPasswordCheckBox)
        SecurityPage.setTabOrder(self.masterPasswordCheckBox, self.masterPasswordButton)

    def retranslateUi(self, SecurityPage):
        self.headerLabel.setText(_translate("SecurityPage", "<b>Configure security settings</b>", None))
        self.groupBox.setTitle(_translate("SecurityPage", "Passwords", None))
        self.savePasswordsCheckBox.setToolTip(_translate("SecurityPage", "Select to save passwords", None))
        self.savePasswordsCheckBox.setText(_translate("SecurityPage", "Save passwords", None))
        self.masterPasswordCheckBox.setToolTip(_translate("SecurityPage", "Select to use a master password", None))
        self.masterPasswordCheckBox.setText(_translate("SecurityPage", "Use Master Password", None))
        self.masterPasswordButton.setToolTip(_translate("SecurityPage", "Press to change the master password", None))
        self.masterPasswordButton.setText(_translate("SecurityPage", "Change Master Password...", None))
        self.groupBox_3.setTitle(_translate("SecurityPage", "DNS", None))
        self.dnsPrefetchCheckBox.setToolTip(_translate("SecurityPage", "Select to enable DNS prefetch", None))
        self.dnsPrefetchCheckBox.setText(_translate("SecurityPage", "Use DNS prefetching to improve page loading", None))

