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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorCalltipsPage.ui'
#
# Created: Thu Feb 10 10:05:39 2011
#      by: PyQt4 UI code generator 4.8.1
#
# 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_EditorCalltipsPage(object):
    def setupUi(self, EditorCalltipsPage):
        EditorCalltipsPage.setObjectName(_fromUtf8("EditorCalltipsPage"))
        EditorCalltipsPage.resize(406, 369)
        self.verticalLayout_2 = QtGui.QVBoxLayout(EditorCalltipsPage)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.headerLabel = QtGui.QLabel(EditorCalltipsPage)
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout_2.addWidget(self.headerLabel)
        self.line18 = QtGui.QFrame(EditorCalltipsPage)
        self.line18.setFrameShape(QtGui.QFrame.HLine)
        self.line18.setFrameShadow(QtGui.QFrame.Sunken)
        self.line18.setFrameShape(QtGui.QFrame.HLine)
        self.line18.setFrameShadow(QtGui.QFrame.Sunken)
        self.line18.setObjectName(_fromUtf8("line18"))
        self.verticalLayout_2.addWidget(self.line18)
        self.ctEnabledCheckBox = QtGui.QCheckBox(EditorCalltipsPage)
        self.ctEnabledCheckBox.setObjectName(_fromUtf8("ctEnabledCheckBox"))
        self.verticalLayout_2.addWidget(self.ctEnabledCheckBox)
        self.frame = QtGui.QFrame(EditorCalltipsPage)
        self.frame.setEnabled(False)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.textLabel2 = QtGui.QLabel(self.frame)
        self.textLabel2.setObjectName(_fromUtf8("textLabel2"))
        self.horizontalLayout.addWidget(self.textLabel2)
        self.ctVisibleSlider = QtGui.QSlider(self.frame)
        self.ctVisibleSlider.setMaximum(20)
        self.ctVisibleSlider.setOrientation(QtCore.Qt.Horizontal)
        self.ctVisibleSlider.setTickInterval(1)
        self.ctVisibleSlider.setObjectName(_fromUtf8("ctVisibleSlider"))
        self.horizontalLayout.addWidget(self.ctVisibleSlider)
        self.lCDNumber5 = QtGui.QLCDNumber(self.frame)
        self.lCDNumber5.setNumDigits(2)
        self.lCDNumber5.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lCDNumber5.setObjectName(_fromUtf8("lCDNumber5"))
        self.horizontalLayout.addWidget(self.lCDNumber5)
        self.verticalLayout_2.addWidget(self.frame)
        self.groupBox_2 = QtGui.QGroupBox(EditorCalltipsPage)
        self.groupBox_2.setEnabled(False)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox_2)
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.TextLabel2_2_2_2 = QtGui.QLabel(self.groupBox_2)
        self.TextLabel2_2_2_2.setObjectName(_fromUtf8("TextLabel2_2_2_2"))
        self.hboxlayout.addWidget(self.TextLabel2_2_2_2)
        self.calltipsBackgroundButton = QtGui.QPushButton(self.groupBox_2)
        self.calltipsBackgroundButton.setMinimumSize(QtCore.QSize(100, 0))
        self.calltipsBackgroundButton.setText(_fromUtf8(""))
        self.calltipsBackgroundButton.setObjectName(_fromUtf8("calltipsBackgroundButton"))
        self.hboxlayout.addWidget(self.calltipsBackgroundButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)
        self.verticalLayout_2.addWidget(self.groupBox_2)
        self.groupBox = QtGui.QGroupBox(EditorCalltipsPage)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.ctScintillaCheckBox = QtGui.QCheckBox(self.groupBox)
        self.ctScintillaCheckBox.setObjectName(_fromUtf8("ctScintillaCheckBox"))
        self.verticalLayout.addWidget(self.ctScintillaCheckBox)
        self.verticalLayout_2.addWidget(self.groupBox)
        spacerItem1 = QtGui.QSpacerItem(388, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)

        self.retranslateUi(EditorCalltipsPage)
        QtCore.QObject.connect(self.ctEnabledCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.groupBox_2.setEnabled)
        QtCore.QObject.connect(self.ctEnabledCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.frame.setEnabled)
        QtCore.QObject.connect(self.ctVisibleSlider, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.lCDNumber5.display)
        QtCore.QMetaObject.connectSlotsByName(EditorCalltipsPage)
        EditorCalltipsPage.setTabOrder(self.ctEnabledCheckBox, self.ctVisibleSlider)
        EditorCalltipsPage.setTabOrder(self.ctVisibleSlider, self.calltipsBackgroundButton)
        EditorCalltipsPage.setTabOrder(self.calltipsBackgroundButton, self.ctScintillaCheckBox)

    def retranslateUi(self, EditorCalltipsPage):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorCalltipsPage", "<b>Configure Calltips</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.ctEnabledCheckBox.setToolTip(QtGui.QApplication.translate("EditorCalltipsPage", "Select this to enable calltips", None, QtGui.QApplication.UnicodeUTF8))
        self.ctEnabledCheckBox.setText(QtGui.QApplication.translate("EditorCalltipsPage", "Calltips Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("EditorCalltipsPage", "Visible calltips:", None, QtGui.QApplication.UnicodeUTF8))
        self.ctVisibleSlider.setToolTip(QtGui.QApplication.translate("EditorCalltipsPage", "Move to set the maximum number of calltips shown (0 = all available)", None, QtGui.QApplication.UnicodeUTF8))
        self.lCDNumber5.setToolTip(QtGui.QApplication.translate("EditorCalltipsPage", "Displays the maximum number of calltips to be shown", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(QtGui.QApplication.translate("EditorCalltipsPage", "Colours", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel2_2_2_2.setText(QtGui.QApplication.translate("EditorCalltipsPage", "Background colour:", None, QtGui.QApplication.UnicodeUTF8))
        self.calltipsBackgroundButton.setToolTip(QtGui.QApplication.translate("EditorCalltipsPage", "Select the background colour for calltips.", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EditorCalltipsPage", "Plug-In Behavior", None, QtGui.QApplication.UnicodeUTF8))
        self.ctScintillaCheckBox.setToolTip(QtGui.QApplication.translate("EditorCalltipsPage", "Select to show QScintilla provided calltips, if the selected plugin fails", None, QtGui.QApplication.UnicodeUTF8))
        self.ctScintillaCheckBox.setWhatsThis(QtGui.QApplication.translate("EditorCalltipsPage", "Qscintilla provided calltips are shown, if this option is enabled and calltips shall be provided by a plug-in (see calltips sub-page of the plug-in) and the plugin-in doesn\'t deliver any calltips.", None, QtGui.QApplication.UnicodeUTF8))
        self.ctScintillaCheckBox.setText(QtGui.QApplication.translate("EditorCalltipsPage", "Show QScintilla calltips, if plug-in fails", None, QtGui.QApplication.UnicodeUTF8))

