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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorAutocompletionPage.ui'
#
# Created: Mon May 10 20:39:43 2010
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EditorAutocompletionPage(object):
    def setupUi(self, EditorAutocompletionPage):
        EditorAutocompletionPage.setObjectName("EditorAutocompletionPage")
        EditorAutocompletionPage.resize(506, 294)
        self.verticalLayout = QtGui.QVBoxLayout(EditorAutocompletionPage)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtGui.QLabel(EditorAutocompletionPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout.addWidget(self.headerLabel)
        self.line6 = QtGui.QFrame(EditorAutocompletionPage)
        self.line6.setFrameShape(QtGui.QFrame.HLine)
        self.line6.setFrameShadow(QtGui.QFrame.Sunken)
        self.line6.setFrameShape(QtGui.QFrame.HLine)
        self.line6.setFrameShadow(QtGui.QFrame.Sunken)
        self.line6.setObjectName("line6")
        self.verticalLayout.addWidget(self.line6)
        self.acEnabledCheckBox = QtGui.QCheckBox(EditorAutocompletionPage)
        self.acEnabledCheckBox.setObjectName("acEnabledCheckBox")
        self.verticalLayout.addWidget(self.acEnabledCheckBox)
        self.groupBox = QtGui.QGroupBox(EditorAutocompletionPage)
        self.groupBox.setEnabled(False)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.acCaseSensitivityCheckBox = QtGui.QCheckBox(self.groupBox)
        self.acCaseSensitivityCheckBox.setObjectName("acCaseSensitivityCheckBox")
        self.gridLayout.addWidget(self.acCaseSensitivityCheckBox, 0, 0, 1, 1)
        self.acReplaceWordCheckBox = QtGui.QCheckBox(self.groupBox)
        self.acReplaceWordCheckBox.setObjectName("acReplaceWordCheckBox")
        self.gridLayout.addWidget(self.acReplaceWordCheckBox, 0, 1, 1, 1)
        self._2 = QtGui.QHBoxLayout()
        self._2.setObjectName("_2")
        self.textLabel1_2 = QtGui.QLabel(self.groupBox)
        self.textLabel1_2.setObjectName("textLabel1_2")
        self._2.addWidget(self.textLabel1_2)
        self.acThresholdSlider = QtGui.QSlider(self.groupBox)
        self.acThresholdSlider.setMaximum(10)
        self.acThresholdSlider.setProperty("value", QtCore.QVariant(2))
        self.acThresholdSlider.setOrientation(QtCore.Qt.Horizontal)
        self.acThresholdSlider.setTickInterval(1)
        self.acThresholdSlider.setObjectName("acThresholdSlider")
        self._2.addWidget(self.acThresholdSlider)
        self.lCDNumber4 = QtGui.QLCDNumber(self.groupBox)
        self.lCDNumber4.setNumDigits(2)
        self.lCDNumber4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lCDNumber4.setProperty("value", QtCore.QVariant(2.0))
        self.lCDNumber4.setObjectName("lCDNumber4")
        self._2.addWidget(self.lCDNumber4)
        self.gridLayout.addLayout(self._2, 1, 0, 1, 2)
        self.verticalLayout.addWidget(self.groupBox)
        spacerItem = QtGui.QSpacerItem(456, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)

        self.retranslateUi(EditorAutocompletionPage)
        QtCore.QObject.connect(self.acThresholdSlider, QtCore.SIGNAL("valueChanged(int)"), self.lCDNumber4.display)
        QtCore.QObject.connect(self.acEnabledCheckBox, QtCore.SIGNAL("toggled(bool)"), self.groupBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(EditorAutocompletionPage)

    def retranslateUi(self, EditorAutocompletionPage):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "<b>Configure Autocompletion</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.acEnabledCheckBox.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Select this to enable autocompletion", None, QtGui.QApplication.UnicodeUTF8))
        self.acEnabledCheckBox.setWhatsThis(QtGui.QApplication.translate("EditorAutocompletionPage", "<b>Autocompletion Enabled</b><p>Select to enable autocompletion. In order to get autocompletion from alternative autocompletion providers (if installed), these have to be enabled on their respective configuration page. Only one alternative provider might be enabled.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.acEnabledCheckBox.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "Autocompletion Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EditorAutocompletionPage", "General", None, QtGui.QApplication.UnicodeUTF8))
        self.acCaseSensitivityCheckBox.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Select this to have case sensitive auto-completion lists", None, QtGui.QApplication.UnicodeUTF8))
        self.acCaseSensitivityCheckBox.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "Case sensitive", None, QtGui.QApplication.UnicodeUTF8))
        self.acReplaceWordCheckBox.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Select this, if the word to the right should be replaced by the selected entry", None, QtGui.QApplication.UnicodeUTF8))
        self.acReplaceWordCheckBox.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "Replace word", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_2.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "Threshold:", None, QtGui.QApplication.UnicodeUTF8))
        self.acThresholdSlider.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Move to set the threshold for display of an autocompletion list", None, QtGui.QApplication.UnicodeUTF8))
        self.lCDNumber4.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Displays the selected autocompletion threshold", None, QtGui.QApplication.UnicodeUTF8))

