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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorSpellCheckingPage.ui'
#
# Created: Sun May  2 14:37:55 2010
#      by: PyQt4 UI code generator 4.6.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EditorSpellCheckingPage(object):
    def setupUi(self, EditorSpellCheckingPage):
        EditorSpellCheckingPage.setObjectName("EditorSpellCheckingPage")
        EditorSpellCheckingPage.resize(576, 666)
        self.verticalLayout_4 = QtGui.QVBoxLayout(EditorSpellCheckingPage)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.headerLabel = QtGui.QLabel(EditorSpellCheckingPage)
        self.headerLabel.setObjectName("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("line3")
        self.verticalLayout_4.addWidget(self.line3)
        self.errorLabel = QtGui.QLabel(EditorSpellCheckingPage)
        self.errorLabel.setObjectName("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("spellingFrame")
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.spellingFrame)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.checkingEnabledCheckBox = QtGui.QCheckBox(self.spellingFrame)
        self.checkingEnabledCheckBox.setObjectName("checkingEnabledCheckBox")
        self.verticalLayout_3.addWidget(self.checkingEnabledCheckBox)
        self.groupBox_3 = QtGui.QGroupBox(self.spellingFrame)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridLayout_3 = QtGui.QGridLayout(self.groupBox_3)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_2 = QtGui.QLabel(self.groupBox_3)
        self.label_2.setObjectName("label_2")
        self.gridLayout_3.addWidget(self.label_2, 0, 0, 1, 1)
        self.defaultLanguageCombo = QtGui.QComboBox(self.groupBox_3)
        self.defaultLanguageCombo.setObjectName("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.setObjectName("groupBox_4")
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_4)
        self.verticalLayout.setObjectName("verticalLayout")
        self.stringsOnlyCheckBox = QtGui.QCheckBox(self.groupBox_4)
        self.stringsOnlyCheckBox.setObjectName("stringsOnlyCheckBox")
        self.verticalLayout.addWidget(self.stringsOnlyCheckBox)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(self.groupBox_4)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.minimumWordSizeSlider = QtGui.QSlider(self.groupBox_4)
        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("minimumWordSizeSlider")
        self.horizontalLayout.addWidget(self.minimumWordSizeSlider)
        self.lCDNumber = QtGui.QLCDNumber(self.groupBox_4)
        self.lCDNumber.setNumDigits(2)
        self.lCDNumber.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lCDNumber.setProperty("intValue", 1)
        self.lCDNumber.setObjectName("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.setObjectName("groupBox_2")
        self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.TextLabel2_2_2_2_2_2 = QtGui.QLabel(self.groupBox_2)
        self.TextLabel2_2_2_2_2_2.setObjectName("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.setObjectName("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.setObjectName("groupBox")
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setObjectName("label_4")
        self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
        self.pwlEdit = QtGui.QLineEdit(self.groupBox)
        self.pwlEdit.setObjectName("pwlEdit")
        self.gridLayout.addWidget(self.pwlEdit, 0, 1, 1, 1)
        self.pwlButton = QtGui.QPushButton(self.groupBox)
        self.pwlButton.setObjectName("pwlButton")
        self.gridLayout.addWidget(self.pwlButton, 0, 2, 1, 1)
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1)
        self.pelEdit = QtGui.QLineEdit(self.groupBox)
        self.pelEdit.setObjectName("pelEdit")
        self.gridLayout.addWidget(self.pelEdit, 1, 1, 1, 1)
        self.pelButton = QtGui.QPushButton(self.groupBox)
        self.pelButton.setObjectName("pelButton")
        self.gridLayout.addWidget(self.pelButton, 1, 2, 1, 1)
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setObjectName("label_6")
        self.gridLayout.addWidget(self.label_6, 2, 0, 1, 3)
        self.label_7 = QtGui.QLabel(self.groupBox)
        self.label_7.setObjectName("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.setObjectName("groupBox_5")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_5)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.enabledCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.enabledCheckBox.setObjectName("enabledCheckBox")
        self.verticalLayout_2.addWidget(self.enabledCheckBox)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_3 = QtGui.QLabel(self.groupBox_5)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.chunkSizeSpinBox = QtGui.QSpinBox(self.groupBox_5)
        self.chunkSizeSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.chunkSizeSpinBox.setMinimum(10)
        self.chunkSizeSpinBox.setMaximum(999)
        self.chunkSizeSpinBox.setObjectName("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("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):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "<b>Configure editor spell checking options</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.errorLabel.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "<font color=\"#FF0000\">Spell checking with PyEnchant is not available.</font>", None, QtGui.QApplication.UnicodeUTF8))
        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.groupBox_3.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Defaults", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Default language:", None, QtGui.QApplication.UnicodeUTF8))
        self.defaultLanguageCombo.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select the default language", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_4.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Spell checking options", None, QtGui.QApplication.UnicodeUTF8))
        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.label.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Minimum word size:", None, QtGui.QApplication.UnicodeUTF8))
        self.minimumWordSizeSlider.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Move to set the minimum size of words to be checked", None, QtGui.QApplication.UnicodeUTF8))
        self.lCDNumber.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Displays the minimum size of words to be checked", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Colours", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2_2_2_2_2_2.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Marker Colour:", None, QtGui.QApplication.UnicodeUTF8))
        self.spellingMarkerButton.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Select the colour for the spelling markers.", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Personal lists", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Personal word list file:", None, QtGui.QApplication.UnicodeUTF8))
        self.pwlEdit.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Enter the filename of the personal word list", None, QtGui.QApplication.UnicodeUTF8))
        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.label_5.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Personal exclude list file:", None, QtGui.QApplication.UnicodeUTF8))
        self.pelEdit.setToolTip(QtGui.QApplication.translate("EditorSpellCheckingPage", "Enter the filename of the personal exclude list", None, QtGui.QApplication.UnicodeUTF8))
        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.label_6.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "<b>Note:</b> leave these entries empty to use the default", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "<b>Note:</b> valid for all newly opened editors", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setTitle(QtGui.QApplication.translate("EditorSpellCheckingPage", "Automatic spell checking", None, QtGui.QApplication.UnicodeUTF8))
        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.label_3.setText(QtGui.QApplication.translate("EditorSpellCheckingPage", "Amount of lines to autocheck at once:", None, QtGui.QApplication.UnicodeUTF8))
        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))

