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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorSpellCheckingPage.ui'
#
# Created: Wed Mar 14 20:23:20 2012
#      by: PyQt4 UI code generator 4.8.5
#
# 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_EditorSpellCheckingPage(object):
    def setupUi(self, EditorSpellCheckingPage):
        EditorSpellCheckingPage.setObjectName(_fromUtf8("EditorSpellCheckingPage"))
        EditorSpellCheckingPage.resize(576, 666)
        self.verticalLayout_4 = QtGui.QVBoxLayout(EditorSpellCheckingPage)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.headerLabel = QtGui.QLabel(EditorSpellCheckingPage)
        self.headerLabel.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "<b>Configure editor spell checking options</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_4.addWidget(self.headerLabel)
        self.line3 = QtGui.QFrame(EditorSpellCheckingPage)
        self.line3.setFrameShape(QtGui.QFrame.HLine)
        self.line3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line3.setFrameShape(QtGui.QFrame.HLine)
        self.line3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line3.setObjectName(_fromUtf8("line3"))
        self.verticalLayout_4.addWidget(self.line3)
        self.errorLabel = QtGui.QLabel(EditorSpellCheckingPage)
        self.errorLabel.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "<font color=\"#FF0000\">Spell checking with PyEnchant is not available.</font>", None, QtGui.QApplication.UnicodeUTF8))
        self.errorLabel.setObjectName(_fromUtf8("errorLabel"))
        self.verticalLayout_4.addWidget(self.errorLabel)
        self.spellingFrame = QtGui.QFrame(EditorSpellCheckingPage)
        self.spellingFrame.setFrameShape(QtGui.QFrame.NoFrame)
        self.spellingFrame.setFrameShadow(QtGui.QFrame.Plain)
        self.spellingFrame.setObjectName(_fromUtf8("spellingFrame"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.spellingFrame)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.checkingEnabledCheckBox = QtGui.QCheckBox(self.spellingFrame)
        self.checkingEnabledCheckBox.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select to enable spell checking", None, QtGui.QApplication.UnicodeUTF8))
        self.checkingEnabledCheckBox.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Spell checking enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.checkingEnabledCheckBox.setObjectName(_fromUtf8("checkingEnabledCheckBox"))
        self.verticalLayout_3.addWidget(self.checkingEnabledCheckBox)
        self.groupBox_3 = QtGui.QGroupBox(self.spellingFrame)
        self.groupBox_3.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Defaults", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_2 = QtGui.QLabel(self.groupBox_3)
        self.label_2.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Default language:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_3.addWidget(self.label_2, 0, 0, 1, 1)
        self.defaultLanguageCombo = QtGui.QComboBox(self.groupBox_3)
        self.defaultLanguageCombo.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select the default language", None, QtGui.QApplication.UnicodeUTF8))
        self.defaultLanguageCombo.setObjectName(_fromUtf8("defaultLanguageCombo"))
        self.gridLayout_3.addWidget(self.defaultLanguageCombo, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(353, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem, 0, 2, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_3)
        self.groupBox_4 = QtGui.QGroupBox(self.spellingFrame)
        self.groupBox_4.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Spell checking options", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.stringsOnlyCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.stringsOnlyCheckBox.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select to check strings only", None, QtGui.QApplication.UnicodeUTF8))
        self.stringsOnlyCheckBox.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Spell check strings only", None, QtGui.QApplication.UnicodeUTF8))
        self.stringsOnlyCheckBox.setObjectName(_fromUtf8("stringsOnlyCheckBox"))
        self.verticalLayout.addWidget(self.stringsOnlyCheckBox)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.groupBox_4)
        self.label.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Minimum word size:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.minimumWordSizeSlider = QtGui.QSlider(self.groupBox_4)
        self.minimumWordSizeSlider.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Move to set the minimum size of words to be checked", None, QtGui.QApplication.UnicodeUTF8))
        self.minimumWordSizeSlider.setMinimum(1)
        self.minimumWordSizeSlider.setMaximum(10)
        self.minimumWordSizeSlider.setOrientation(QtCore.Qt.Horizontal)
        self.minimumWordSizeSlider.setTickPosition(QtGui.QSlider.NoTicks)
        self.minimumWordSizeSlider.setTickInterval(1)
        self.minimumWordSizeSlider.setObjectName(_fromUtf8("minimumWordSizeSlider"))
        self.horizontalLayout.addWidget(self.minimumWordSizeSlider)
        self.lCDNumber = QtGui.QLCDNumber(self.groupBox_4)
        self.lCDNumber.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Displays the minimum size of words to be checked", None, QtGui.QApplication.UnicodeUTF8))
        self.lCDNumber.setNumDigits(2)
        self.lCDNumber.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lCDNumber.setProperty("intValue", 1)
        self.lCDNumber.setObjectName(_fromUtf8("lCDNumber"))
        self.horizontalLayout.addWidget(self.lCDNumber)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_3.addWidget(self.groupBox_4)
        self.groupBox_2 = QtGui.QGroupBox(self.spellingFrame)
        self.groupBox_2.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Colours", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.TextLabel2_2_2_2_2_2 = QtGui.QLabel(self.groupBox_2)
        self.TextLabel2_2_2_2_2_2.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Marker Colour:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2_2_2_2_2_2.setObjectName(_fromUtf8("TextLabel2_2_2_2_2_2"))
        self.gridLayout_2.addWidget(self.TextLabel2_2_2_2_2_2, 0, 0, 1, 1)
        self.spellingMarkerButton = QtGui.QPushButton(self.groupBox_2)
        self.spellingMarkerButton.setMinimumSize(QtCore.QSize(100, 0))
        self.spellingMarkerButton.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select the colour for the spelling markers.", None, QtGui.QApplication.UnicodeUTF8))
        self.spellingMarkerButton.setText(_fromUtf8(""))
        self.spellingMarkerButton.setObjectName(_fromUtf8("spellingMarkerButton"))
        self.gridLayout_2.addWidget(self.spellingMarkerButton, 0, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(348, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout_2.addItem(spacerItem1, 0, 2, 1, 1)
        self.verticalLayout_3.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(self.spellingFrame)
        self.groupBox.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Personal lists", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Personal word list file:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.pwlEdit = QtGui.QLineEdit(self.groupBox)
        self.pwlEdit.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Enter the filename of the personal word list", None, QtGui.QApplication.UnicodeUTF8))
        self.pwlEdit.setObjectName(_fromUtf8("pwlEdit"))
        self.gridLayout.addWidget(self.pwlEdit, 0, 1, 1, 1)
        self.pwlButton = QtGui.QPushButton(self.groupBox)
        self.pwlButton.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select the personal word list file via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.pwlButton.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.pwlButton.setObjectName(_fromUtf8("pwlButton"))
        self.gridLayout.addWidget(self.pwlButton, 0, 2, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Personal exclude list file:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1)
        self.pelEdit = QtGui.QLineEdit(self.groupBox)
        self.pelEdit.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Enter the filename of the personal exclude list", None, QtGui.QApplication.UnicodeUTF8))
        self.pelEdit.setObjectName(_fromUtf8("pelEdit"))
        self.gridLayout.addWidget(self.pelEdit, 1, 1, 1, 1)
        self.pelButton = QtGui.QPushButton(self.groupBox)
        self.pelButton.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select the personal exclude list file via a file selection dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.pelButton.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.pelButton.setObjectName(_fromUtf8("pelButton"))
        self.gridLayout.addWidget(self.pelButton, 1, 2, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "<b>Note:</b> leave these entries empty to use the default", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 2, 0, 1, 3)
        self.label_7 = QtGui.QLabel(self.groupBox)
        self.label_7.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "<b>Note:</b> valid for all newly opened editors", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 3, 0, 1, 3)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.groupBox_5 = QtGui.QGroupBox(self.spellingFrame)
        self.groupBox_5.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Automatic spell checking", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.enabledCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.enabledCheckBox.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select to enable spellchecking", None, QtGui.QApplication.UnicodeUTF8))
        self.enabledCheckBox.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Automatic spell checking enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.enabledCheckBox.setObjectName(_fromUtf8("enabledCheckBox"))
        self.verticalLayout_2.addWidget(self.enabledCheckBox)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_3 = QtGui.QLabel(self.groupBox_5)
        self.label_3.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Amount of lines to autocheck at once:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_3.addWidget(self.label_3)
        self.chunkSizeSpinBox = QtGui.QSpinBox(self.groupBox_5)
        self.chunkSizeSpinBox.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Enter the number of lines to check per go. Higher values increase checking speed but decrease GUI responsivenes", None, QtGui.QApplication.UnicodeUTF8))
        self.chunkSizeSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.chunkSizeSpinBox.setMinimum(10)
        self.chunkSizeSpinBox.setMaximum(999)
        self.chunkSizeSpinBox.setObjectName(_fromUtf8("chunkSizeSpinBox"))
        self.horizontalLayout_3.addWidget(self.chunkSizeSpinBox)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.verticalLayout_2.addLayout(self.horizontalLayout_3)
        self.verticalLayout_3.addWidget(self.groupBox_5)
        self.verticalLayout_4.addWidget(self.spellingFrame)
        spacerItem3 = QtGui.QSpacerItem(558, 231, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem3)

        self.retranslateUi(EditorSpellCheckingPage)
        QtCore.QObject.connect(self.minimumWordSizeSlider, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.lCDNumber.display)
        QtCore.QMetaObject.connectSlotsByName(EditorSpellCheckingPage)
        EditorSpellCheckingPage.setTabOrder(self.checkingEnabledCheckBox, self.defaultLanguageCombo)
        EditorSpellCheckingPage.setTabOrder(self.defaultLanguageCombo, self.stringsOnlyCheckBox)
        EditorSpellCheckingPage.setTabOrder(self.stringsOnlyCheckBox, self.minimumWordSizeSlider)
        EditorSpellCheckingPage.setTabOrder(self.minimumWordSizeSlider, self.spellingMarkerButton)
        EditorSpellCheckingPage.setTabOrder(self.spellingMarkerButton, self.pwlEdit)
        EditorSpellCheckingPage.setTabOrder(self.pwlEdit, self.pwlButton)
        EditorSpellCheckingPage.setTabOrder(self.pwlButton, self.pelEdit)
        EditorSpellCheckingPage.setTabOrder(self.pelEdit, self.pelButton)
        EditorSpellCheckingPage.setTabOrder(self.pelButton, self.enabledCheckBox)
        EditorSpellCheckingPage.setTabOrder(self.enabledCheckBox, self.chunkSizeSpinBox)

    def retranslateUi(self, EditorSpellCheckingPage):
        pass

