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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/EditorAutocompletionPage.ui'
#
# Created: Sat Feb  3 15:33:46 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# 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(QtCore.QSize(QtCore.QRect(0,0,506,294).size()).expandedTo(EditorAutocompletionPage.minimumSizeHint()))

        self.vboxlayout = QtGui.QVBoxLayout(EditorAutocompletionPage)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.headerLabel = QtGui.QLabel(EditorAutocompletionPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.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.vboxlayout.addWidget(self.line6)

        self.acEnabledCheckBox = QtGui.QCheckBox(EditorAutocompletionPage)
        self.acEnabledCheckBox.setObjectName("acEnabledCheckBox")
        self.vboxlayout.addWidget(self.acEnabledCheckBox)

        self.autocompletionFrame = QtGui.QFrame(EditorAutocompletionPage)
        self.autocompletionFrame.setEnabled(False)
        self.autocompletionFrame.setFrameShape(QtGui.QFrame.NoFrame)
        self.autocompletionFrame.setObjectName("autocompletionFrame")

        self.gridlayout = QtGui.QGridLayout(self.autocompletionFrame)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.acFillupsCheckBox = QtGui.QCheckBox(self.autocompletionFrame)
        self.acFillupsCheckBox.setObjectName("acFillupsCheckBox")
        self.gridlayout.addWidget(self.acFillupsCheckBox,1,1,1,1)

        self.groupBox = QtGui.QGroupBox(self.autocompletionFrame)
        self.groupBox.setObjectName("groupBox")

        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox)
        self.hboxlayout.setMargin(6)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.acSourceDocumentRadioButton = QtGui.QRadioButton(self.groupBox)
        self.acSourceDocumentRadioButton.setObjectName("acSourceDocumentRadioButton")
        self.hboxlayout.addWidget(self.acSourceDocumentRadioButton)

        self.acSourceAPIsRadioButton = QtGui.QRadioButton(self.groupBox)
        self.acSourceAPIsRadioButton.setObjectName("acSourceAPIsRadioButton")
        self.hboxlayout.addWidget(self.acSourceAPIsRadioButton)

        self.acSourceAllRadioButton = QtGui.QRadioButton(self.groupBox)
        self.acSourceAllRadioButton.setObjectName("acSourceAllRadioButton")
        self.hboxlayout.addWidget(self.acSourceAllRadioButton)
        self.gridlayout.addWidget(self.groupBox,3,0,1,2)

        self.acShowSingleCheckBox = QtGui.QCheckBox(self.autocompletionFrame)
        self.acShowSingleCheckBox.setObjectName("acShowSingleCheckBox")
        self.gridlayout.addWidget(self.acShowSingleCheckBox,0,1,1,1)

        self.acReplaceWordCheckBox = QtGui.QCheckBox(self.autocompletionFrame)
        self.acReplaceWordCheckBox.setObjectName("acReplaceWordCheckBox")
        self.gridlayout.addWidget(self.acReplaceWordCheckBox,1,0,1,1)

        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setMargin(0)
        self.hboxlayout1.setSpacing(6)
        self.hboxlayout1.setObjectName("hboxlayout1")

        self.textLabel1_2 = QtGui.QLabel(self.autocompletionFrame)
        self.textLabel1_2.setObjectName("textLabel1_2")
        self.hboxlayout1.addWidget(self.textLabel1_2)

        self.acThresholdSlider = QtGui.QSlider(self.autocompletionFrame)
        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.hboxlayout1.addWidget(self.acThresholdSlider)

        self.lCDNumber4 = QtGui.QLCDNumber(self.autocompletionFrame)
        self.lCDNumber4.setNumDigits(2)
        self.lCDNumber4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lCDNumber4.setProperty("value",QtCore.QVariant(2.0))
        self.lCDNumber4.setObjectName("lCDNumber4")
        self.hboxlayout1.addWidget(self.lCDNumber4)
        self.gridlayout.addLayout(self.hboxlayout1,2,0,1,2)

        self.acCaseSensitivityCheckBox = QtGui.QCheckBox(self.autocompletionFrame)
        self.acCaseSensitivityCheckBox.setObjectName("acCaseSensitivityCheckBox")
        self.gridlayout.addWidget(self.acCaseSensitivityCheckBox,0,0,1,1)
        self.vboxlayout.addWidget(self.autocompletionFrame)

        spacerItem = QtGui.QSpacerItem(456,51,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.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.autocompletionFrame.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(EditorAutocompletionPage)
        EditorAutocompletionPage.setTabOrder(self.acEnabledCheckBox,self.acCaseSensitivityCheckBox)
        EditorAutocompletionPage.setTabOrder(self.acCaseSensitivityCheckBox,self.acReplaceWordCheckBox)
        EditorAutocompletionPage.setTabOrder(self.acReplaceWordCheckBox,self.acShowSingleCheckBox)
        EditorAutocompletionPage.setTabOrder(self.acShowSingleCheckBox,self.acFillupsCheckBox)
        EditorAutocompletionPage.setTabOrder(self.acFillupsCheckBox,self.acThresholdSlider)
        EditorAutocompletionPage.setTabOrder(self.acThresholdSlider,self.acSourceDocumentRadioButton)
        EditorAutocompletionPage.setTabOrder(self.acSourceDocumentRadioButton,self.acSourceAPIsRadioButton)
        EditorAutocompletionPage.setTabOrder(self.acSourceAPIsRadioButton,self.acSourceAllRadioButton)

    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.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "Autocompletion Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.acFillupsCheckBox.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Select to enable the use of fill-up characters to autocomplete the current word", None, QtGui.QApplication.UnicodeUTF8))
        self.acFillupsCheckBox.setWhatsThis(QtGui.QApplication.translate("EditorAutocompletionPage", "<b>Use fill-up characters</b><p>Select to enable the use of fill-up characters to autocomplete the current word. A fill-up character is one that, when entered while an auto-completion list is being displayed, causes the currently selected item from the list to be added to the text followed by the fill-up character.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.acFillupsCheckBox.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "Use fill-up characters", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EditorAutocompletionPage", "Source", None, QtGui.QApplication.UnicodeUTF8))
        self.acSourceDocumentRadioButton.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Select this to get autocompletion from current document", None, QtGui.QApplication.UnicodeUTF8))
        self.acSourceDocumentRadioButton.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "from Document", None, QtGui.QApplication.UnicodeUTF8))
        self.acSourceAPIsRadioButton.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Select this to get autocompletion from installed APIs", None, QtGui.QApplication.UnicodeUTF8))
        self.acSourceAPIsRadioButton.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "from API files", None, QtGui.QApplication.UnicodeUTF8))
        self.acSourceAllRadioButton.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Select this to get autocompletion from current document and installed APIs", None, QtGui.QApplication.UnicodeUTF8))
        self.acSourceAllRadioButton.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "from Document and API files", None, QtGui.QApplication.UnicodeUTF8))
        self.acShowSingleCheckBox.setToolTip(QtGui.QApplication.translate("EditorAutocompletionPage", "Select this, if single entries shall be inserted automatically", None, QtGui.QApplication.UnicodeUTF8))
        self.acShowSingleCheckBox.setText(QtGui.QApplication.translate("EditorAutocompletionPage", "Show single", 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))
        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))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    EditorAutocompletionPage = QtGui.QWidget()
    ui = Ui_EditorAutocompletionPage()
    ui.setupUi(EditorAutocompletionPage)
    EditorAutocompletionPage.show()
    sys.exit(app.exec_())
