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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorCalltipsPage.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_EditorCalltipsPage(object):
    def setupUi(self, EditorCalltipsPage):
        EditorCalltipsPage.setObjectName("EditorCalltipsPage")
        EditorCalltipsPage.resize(406, 369)
        self.verticalLayout_2 = QtGui.QVBoxLayout(EditorCalltipsPage)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.headerLabel = QtGui.QLabel(EditorCalltipsPage)
        self.headerLabel.setObjectName("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("line18")
        self.verticalLayout_2.addWidget(self.line18)
        self.ctEnabledCheckBox = QtGui.QCheckBox(EditorCalltipsPage)
        self.ctEnabledCheckBox.setObjectName("ctEnabledCheckBox")
        self.verticalLayout_2.addWidget(self.ctEnabledCheckBox)
        self.frame = QtGui.QFrame(EditorCalltipsPage)
        self.frame.setEnabled(False)
        self.frame.setObjectName("frame")
        self.horizontalLayout = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.textLabel2 = QtGui.QLabel(self.frame)
        self.textLabel2.setObjectName("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("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("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("groupBox_2")
        self.hboxlayout = QtGui.QHBoxLayout(self.groupBox_2)
        self.hboxlayout.setObjectName("hboxlayout")
        self.TextLabel2_2_2_2 = QtGui.QLabel(self.groupBox_2)
        self.TextLabel2_2_2_2.setObjectName("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.setObjectName("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("groupBox")
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.ctScintillaCheckBox = QtGui.QCheckBox(self.groupBox)
        self.ctScintillaCheckBox.setObjectName("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("toggled(bool)"), self.groupBox_2.setEnabled)
        QtCore.QObject.connect(self.ctEnabledCheckBox, QtCore.SIGNAL("toggled(bool)"), self.frame.setEnabled)
        QtCore.QObject.connect(self.ctVisibleSlider, QtCore.SIGNAL("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))

