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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/WebBrowserAppearancePage.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_WebBrowserAppearancePage(object):
    def setupUi(self, WebBrowserAppearancePage):
        WebBrowserAppearancePage.setObjectName(_fromUtf8("WebBrowserAppearancePage"))
        WebBrowserAppearancePage.resize(499, 894)
        self.verticalLayout_3 = QtGui.QVBoxLayout(WebBrowserAppearancePage)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.headerLabel = QtGui.QLabel(WebBrowserAppearancePage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_3.addWidget(self.headerLabel)
        self.line17 = QtGui.QFrame(WebBrowserAppearancePage)
        self.line17.setFrameShape(QtGui.QFrame.HLine)
        self.line17.setFrameShadow(QtGui.QFrame.Sunken)
        self.line17.setFrameShape(QtGui.QFrame.HLine)
        self.line17.setObjectName(_fromUtf8("line17"))
        self.verticalLayout_3.addWidget(self.line17)
        self.groupBox_4 = QtGui.QGroupBox(WebBrowserAppearancePage)
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox_4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_2 = QtGui.QLabel(self.groupBox_4)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.standardFontCombo = QtGui.QFontComboBox(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.standardFontCombo.sizePolicy().hasHeightForWidth())
        self.standardFontCombo.setSizePolicy(sizePolicy)
        self.standardFontCombo.setObjectName(_fromUtf8("standardFontCombo"))
        self.gridLayout.addWidget(self.standardFontCombo, 0, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.groupBox_4)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.fixedFontCombo = QtGui.QFontComboBox(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fixedFontCombo.sizePolicy().hasHeightForWidth())
        self.fixedFontCombo.setSizePolicy(sizePolicy)
        self.fixedFontCombo.setFontFilters(QtGui.QFontComboBox.MonospacedFonts)
        self.fixedFontCombo.setObjectName(_fromUtf8("fixedFontCombo"))
        self.gridLayout.addWidget(self.fixedFontCombo, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.groupBox_4)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1)
        self.serifFontCombo = QtGui.QFontComboBox(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.serifFontCombo.sizePolicy().hasHeightForWidth())
        self.serifFontCombo.setSizePolicy(sizePolicy)
        self.serifFontCombo.setObjectName(_fromUtf8("serifFontCombo"))
        self.gridLayout.addWidget(self.serifFontCombo, 2, 1, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox_4)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1)
        self.sansSerifFontCombo = QtGui.QFontComboBox(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sansSerifFontCombo.sizePolicy().hasHeightForWidth())
        self.sansSerifFontCombo.setSizePolicy(sizePolicy)
        self.sansSerifFontCombo.setObjectName(_fromUtf8("sansSerifFontCombo"))
        self.gridLayout.addWidget(self.sansSerifFontCombo, 3, 1, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox_4)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 4, 0, 1, 1)
        self.cursiveFontCombo = QtGui.QFontComboBox(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.cursiveFontCombo.sizePolicy().hasHeightForWidth())
        self.cursiveFontCombo.setSizePolicy(sizePolicy)
        self.cursiveFontCombo.setObjectName(_fromUtf8("cursiveFontCombo"))
        self.gridLayout.addWidget(self.cursiveFontCombo, 4, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.groupBox_4)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 5, 0, 1, 1)
        self.fantasyFontCombo = QtGui.QFontComboBox(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fantasyFontCombo.sizePolicy().hasHeightForWidth())
        self.fantasyFontCombo.setSizePolicy(sizePolicy)
        self.fantasyFontCombo.setObjectName(_fromUtf8("fantasyFontCombo"))
        self.gridLayout.addWidget(self.fantasyFontCombo, 5, 1, 1, 1)
        self.pictographFontLabel = QtGui.QLabel(self.groupBox_4)
        self.pictographFontLabel.setObjectName(_fromUtf8("pictographFontLabel"))
        self.gridLayout.addWidget(self.pictographFontLabel, 6, 0, 1, 1)
        self.pictographFontCombo = QtGui.QFontComboBox(self.groupBox_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pictographFontCombo.sizePolicy().hasHeightForWidth())
        self.pictographFontCombo.setSizePolicy(sizePolicy)
        self.pictographFontCombo.setObjectName(_fromUtf8("pictographFontCombo"))
        self.gridLayout.addWidget(self.pictographFontCombo, 6, 1, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_4)
        self.groupBox_6 = QtGui.QGroupBox(WebBrowserAppearancePage)
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.gridLayout_4 = QtGui.QGridLayout(self.groupBox_6)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.label_8 = QtGui.QLabel(self.groupBox_6)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.gridLayout_4.addWidget(self.label_8, 0, 0, 1, 1)
        self.defaultSizeSpinBox = QtGui.QSpinBox(self.groupBox_6)
        self.defaultSizeSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.defaultSizeSpinBox.setMinimum(1)
        self.defaultSizeSpinBox.setObjectName(_fromUtf8("defaultSizeSpinBox"))
        self.gridLayout_4.addWidget(self.defaultSizeSpinBox, 0, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.groupBox_6)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.gridLayout_4.addWidget(self.label_9, 1, 0, 1, 1)
        self.fixedSizeSpinBox = QtGui.QSpinBox(self.groupBox_6)
        self.fixedSizeSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.fixedSizeSpinBox.setMinimum(1)
        self.fixedSizeSpinBox.setObjectName(_fromUtf8("fixedSizeSpinBox"))
        self.gridLayout_4.addWidget(self.fixedSizeSpinBox, 1, 1, 1, 1)
        self.label_10 = QtGui.QLabel(self.groupBox_6)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.gridLayout_4.addWidget(self.label_10, 2, 0, 1, 1)
        self.minSizeSpinBox = QtGui.QSpinBox(self.groupBox_6)
        self.minSizeSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.minSizeSpinBox.setMinimum(1)
        self.minSizeSpinBox.setObjectName(_fromUtf8("minSizeSpinBox"))
        self.gridLayout_4.addWidget(self.minSizeSpinBox, 2, 1, 1, 1)
        self.label_11 = QtGui.QLabel(self.groupBox_6)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.gridLayout_4.addWidget(self.label_11, 3, 0, 1, 1)
        self.minLogicalSizeSpinBox = QtGui.QSpinBox(self.groupBox_6)
        self.minLogicalSizeSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.minLogicalSizeSpinBox.setMinimum(1)
        self.minLogicalSizeSpinBox.setObjectName(_fromUtf8("minLogicalSizeSpinBox"))
        self.gridLayout_4.addWidget(self.minLogicalSizeSpinBox, 3, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(230, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_4.addItem(spacerItem, 3, 2, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_6)
        self.groupBox_3 = QtGui.QGroupBox(WebBrowserAppearancePage)
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.textLabel1_3 = QtGui.QLabel(self.groupBox_3)
        self.textLabel1_3.setObjectName(_fromUtf8("textLabel1_3"))
        self.gridLayout_2.addWidget(self.textLabel1_3, 0, 0, 1, 1)
        self.secureURLsColourButton = QtGui.QPushButton(self.groupBox_3)
        self.secureURLsColourButton.setMinimumSize(QtCore.QSize(100, 0))
        self.secureURLsColourButton.setText(_fromUtf8(""))
        self.secureURLsColourButton.setObjectName(_fromUtf8("secureURLsColourButton"))
        self.gridLayout_2.addWidget(self.secureURLsColourButton, 0, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 0, 2, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_3)
        self.groupBox = QtGui.QGroupBox(WebBrowserAppearancePage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.autoLoadImagesCheckBox = QtGui.QCheckBox(self.groupBox)
        self.autoLoadImagesCheckBox.setObjectName(_fromUtf8("autoLoadImagesCheckBox"))
        self.verticalLayout.addWidget(self.autoLoadImagesCheckBox)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(WebBrowserAppearancePage)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.groupBox_2)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.styleSheetPicker = E5PathPicker(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.styleSheetPicker.sizePolicy().hasHeightForWidth())
        self.styleSheetPicker.setSizePolicy(sizePolicy)
        self.styleSheetPicker.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.styleSheetPicker.setObjectName(_fromUtf8("styleSheetPicker"))
        self.horizontalLayout.addWidget(self.styleSheetPicker)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.tabsGroupBox = QtGui.QGroupBox(WebBrowserAppearancePage)
        self.tabsGroupBox.setObjectName(_fromUtf8("tabsGroupBox"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabsGroupBox)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabsCloseButtonCheckBox = QtGui.QCheckBox(self.tabsGroupBox)
        self.tabsCloseButtonCheckBox.setObjectName(_fromUtf8("tabsCloseButtonCheckBox"))
        self.verticalLayout_2.addWidget(self.tabsCloseButtonCheckBox)
        self.warnOnMultipleCloseCheckBox = QtGui.QCheckBox(self.tabsGroupBox)
        self.warnOnMultipleCloseCheckBox.setObjectName(_fromUtf8("warnOnMultipleCloseCheckBox"))
        self.verticalLayout_2.addWidget(self.warnOnMultipleCloseCheckBox)
        self.verticalLayout_3.addWidget(self.tabsGroupBox)
        spacerItem2 = QtGui.QSpacerItem(479, 121, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_3.addItem(spacerItem2)

        self.retranslateUi(WebBrowserAppearancePage)
        QtCore.QMetaObject.connectSlotsByName(WebBrowserAppearancePage)
        WebBrowserAppearancePage.setTabOrder(self.standardFontCombo, self.fixedFontCombo)
        WebBrowserAppearancePage.setTabOrder(self.fixedFontCombo, self.serifFontCombo)
        WebBrowserAppearancePage.setTabOrder(self.serifFontCombo, self.sansSerifFontCombo)
        WebBrowserAppearancePage.setTabOrder(self.sansSerifFontCombo, self.cursiveFontCombo)
        WebBrowserAppearancePage.setTabOrder(self.cursiveFontCombo, self.fantasyFontCombo)
        WebBrowserAppearancePage.setTabOrder(self.fantasyFontCombo, self.pictographFontCombo)
        WebBrowserAppearancePage.setTabOrder(self.pictographFontCombo, self.defaultSizeSpinBox)
        WebBrowserAppearancePage.setTabOrder(self.defaultSizeSpinBox, self.fixedSizeSpinBox)
        WebBrowserAppearancePage.setTabOrder(self.fixedSizeSpinBox, self.minSizeSpinBox)
        WebBrowserAppearancePage.setTabOrder(self.minSizeSpinBox, self.minLogicalSizeSpinBox)
        WebBrowserAppearancePage.setTabOrder(self.minLogicalSizeSpinBox, self.secureURLsColourButton)
        WebBrowserAppearancePage.setTabOrder(self.secureURLsColourButton, self.autoLoadImagesCheckBox)
        WebBrowserAppearancePage.setTabOrder(self.autoLoadImagesCheckBox, self.styleSheetPicker)
        WebBrowserAppearancePage.setTabOrder(self.styleSheetPicker, self.tabsCloseButtonCheckBox)
        WebBrowserAppearancePage.setTabOrder(self.tabsCloseButtonCheckBox, self.warnOnMultipleCloseCheckBox)

    def retranslateUi(self, WebBrowserAppearancePage):
        self.headerLabel.setText(_translate("WebBrowserAppearancePage", "<b>Configure Web Browser appearance</b>", None))
        self.groupBox_4.setTitle(_translate("WebBrowserAppearancePage", "Fonts", None))
        self.label_2.setText(_translate("WebBrowserAppearancePage", "Standard Font:", None))
        self.standardFontCombo.setToolTip(_translate("WebBrowserAppearancePage", "Select the standard font", None))
        self.label_3.setText(_translate("WebBrowserAppearancePage", "Fixed Width Font:", None))
        self.fixedFontCombo.setToolTip(_translate("WebBrowserAppearancePage", "Select the fixed width font", None))
        self.label_4.setText(_translate("WebBrowserAppearancePage", "Serif Font:", None))
        self.serifFontCombo.setToolTip(_translate("WebBrowserAppearancePage", "Select the serif font", None))
        self.label_5.setText(_translate("WebBrowserAppearancePage", "Sans Serif Font:", None))
        self.sansSerifFontCombo.setToolTip(_translate("WebBrowserAppearancePage", "Select the sans serif font", None))
        self.label_6.setText(_translate("WebBrowserAppearancePage", "Cursive Font:", None))
        self.cursiveFontCombo.setToolTip(_translate("WebBrowserAppearancePage", "Select the cursive font", None))
        self.label_7.setText(_translate("WebBrowserAppearancePage", "Fantasy Font:", None))
        self.fantasyFontCombo.setToolTip(_translate("WebBrowserAppearancePage", "Select the fantasy font", None))
        self.pictographFontLabel.setText(_translate("WebBrowserAppearancePage", "Pictograph Font:", None))
        self.pictographFontCombo.setToolTip(_translate("WebBrowserAppearancePage", "Select the pictograph font", None))
        self.groupBox_6.setTitle(_translate("WebBrowserAppearancePage", "Font Sizes", None))
        self.label_8.setText(_translate("WebBrowserAppearancePage", "Default Font Size:", None))
        self.label_9.setText(_translate("WebBrowserAppearancePage", "Fixed Font Size:", None))
        self.label_10.setText(_translate("WebBrowserAppearancePage", "Minimum Font Size:", None))
        self.label_11.setText(_translate("WebBrowserAppearancePage", "Minimum Logical Font Size:", None))
        self.groupBox_3.setTitle(_translate("WebBrowserAppearancePage", "Colours", None))
        self.textLabel1_3.setText(_translate("WebBrowserAppearancePage", "Background colour of secure URLs:", None))
        self.secureURLsColourButton.setToolTip(_translate("WebBrowserAppearancePage", "Select the background colour for secure URLs.", None))
        self.groupBox.setTitle(_translate("WebBrowserAppearancePage", "Images", None))
        self.autoLoadImagesCheckBox.setToolTip(_translate("WebBrowserAppearancePage", "Select to load images", None))
        self.autoLoadImagesCheckBox.setText(_translate("WebBrowserAppearancePage", "Load images", None))
        self.groupBox_2.setTitle(_translate("WebBrowserAppearancePage", "Style Sheet", None))
        self.label.setText(_translate("WebBrowserAppearancePage", "User Style Sheet:", None))
        self.styleSheetPicker.setToolTip(_translate("WebBrowserAppearancePage", "Enter the file name of a user style sheet", None))
        self.tabsGroupBox.setTitle(_translate("WebBrowserAppearancePage", "Tabs", None))
        self.tabsCloseButtonCheckBox.setText(_translate("WebBrowserAppearancePage", "Show only one close button instead of one for each tab", None))
        self.warnOnMultipleCloseCheckBox.setToolTip(_translate("WebBrowserAppearancePage", "Select to issue a warning, if multiple tabs are about to be closed", None))
        self.warnOnMultipleCloseCheckBox.setText(_translate("WebBrowserAppearancePage", "Warn, if multiple tabs are about to be closed", None))

from E5Gui.E5PathPicker import E5PathPicker
