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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_2/eric4/Preferences/ConfigurationPages/EditorCalltipsPage.ui'
#
# Created: Sun Jul  6 16:45:34 2008
#      by: PyQt4 UI code generator 4.4.2
#
# 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(400,369)
        self.verticalLayout = QtGui.QVBoxLayout(EditorCalltipsPage)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setMargin(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtGui.QLabel(EditorCalltipsPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout.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.addWidget(self.line18)
        self.ctEnabledCheckBox = QtGui.QCheckBox(EditorCalltipsPage)
        self.ctEnabledCheckBox.setObjectName("ctEnabledCheckBox")
        self.verticalLayout.addWidget(self.ctEnabledCheckBox)
        self.frame = QtGui.QFrame(EditorCalltipsPage)
        self.frame.setEnabled(False)
        self.frame.setObjectName("frame")
        self.horizontalLayout = QtGui.QHBoxLayout(self.frame)
        self.horizontalLayout.setSpacing(6)
        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.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.setSpacing(6)
        self.hboxlayout.setMargin(6)
        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.addWidget(self.groupBox_2)
        spacerItem1 = QtGui.QSpacerItem(388,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.verticalLayout.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.calltipsBackgroundButton)

    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))


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

