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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/ShellPage.ui'
#
# Created: Sat Feb  3 15:33:37 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_ShellPage(object):
    def setupUi(self, ShellPage):
        ShellPage.setObjectName("ShellPage")
        ShellPage.resize(QtCore.QSize(QtCore.QRect(0,0,400,266).size()).expandedTo(ShellPage.minimumSizeHint()))

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

        self.headerLabel = QtGui.QLabel(ShellPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.addWidget(self.headerLabel)

        self.line14 = QtGui.QFrame(ShellPage)
        self.line14.setFrameShape(QtGui.QFrame.HLine)
        self.line14.setFrameShadow(QtGui.QFrame.Sunken)
        self.line14.setFrameShape(QtGui.QFrame.HLine)
        self.line14.setFrameShadow(QtGui.QFrame.Sunken)
        self.line14.setObjectName("line14")
        self.vboxlayout.addWidget(self.line14)

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

        self.TextLabel13_2_2_2_2 = QtGui.QLabel(ShellPage)
        self.TextLabel13_2_2_2_2.setObjectName("TextLabel13_2_2_2_2")
        self.hboxlayout.addWidget(self.TextLabel13_2_2_2_2)

        self.shellLinenowidthSlider = QtGui.QSlider(ShellPage)
        self.shellLinenowidthSlider.setMinimum(2)
        self.shellLinenowidthSlider.setMaximum(8)
        self.shellLinenowidthSlider.setProperty("value",QtCore.QVariant(2))
        self.shellLinenowidthSlider.setOrientation(QtCore.Qt.Horizontal)
        self.shellLinenowidthSlider.setTickInterval(1)
        self.shellLinenowidthSlider.setObjectName("shellLinenowidthSlider")
        self.hboxlayout.addWidget(self.shellLinenowidthSlider)

        self.shellLinenowidthLCD = QtGui.QLCDNumber(ShellPage)
        self.shellLinenowidthLCD.setNumDigits(1)
        self.shellLinenowidthLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.shellLinenowidthLCD.setProperty("value",QtCore.QVariant(2.0))
        self.shellLinenowidthLCD.setObjectName("shellLinenowidthLCD")
        self.hboxlayout.addWidget(self.shellLinenowidthLCD)
        self.vboxlayout.addLayout(self.hboxlayout)

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

        self.shellLinenoCheckBox = QtGui.QCheckBox(ShellPage)
        self.shellLinenoCheckBox.setObjectName("shellLinenoCheckBox")
        self.gridlayout.addWidget(self.shellLinenoCheckBox,0,0,1,1)

        self.shellCTEnabledCheckBox = QtGui.QCheckBox(ShellPage)
        self.shellCTEnabledCheckBox.setObjectName("shellCTEnabledCheckBox")
        self.gridlayout.addWidget(self.shellCTEnabledCheckBox,1,1,1,1)

        self.shellWordWrapCheckBox = QtGui.QCheckBox(ShellPage)
        self.shellWordWrapCheckBox.setObjectName("shellWordWrapCheckBox")
        self.gridlayout.addWidget(self.shellWordWrapCheckBox,0,1,1,1)

        self.shellACEnabledCheckBox = QtGui.QCheckBox(ShellPage)
        self.shellACEnabledCheckBox.setObjectName("shellACEnabledCheckBox")
        self.gridlayout.addWidget(self.shellACEnabledCheckBox,1,0,1,1)

        self.shellSyntaxHighlightingCheckBox = QtGui.QCheckBox(ShellPage)
        self.shellSyntaxHighlightingCheckBox.setObjectName("shellSyntaxHighlightingCheckBox")
        self.gridlayout.addWidget(self.shellSyntaxHighlightingCheckBox,2,0,1,1)
        self.vboxlayout.addLayout(self.gridlayout)

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

        self.textLabel1_20 = QtGui.QLabel(ShellPage)
        self.textLabel1_20.setObjectName("textLabel1_20")
        self.hboxlayout1.addWidget(self.textLabel1_20)

        self.shellHistorySpinBox = QtGui.QSpinBox(ShellPage)
        self.shellHistorySpinBox.setMaximum(1000)
        self.shellHistorySpinBox.setMinimum(10)
        self.shellHistorySpinBox.setSingleStep(10)
        self.shellHistorySpinBox.setProperty("value",QtCore.QVariant(100))
        self.shellHistorySpinBox.setObjectName("shellHistorySpinBox")
        self.hboxlayout1.addWidget(self.shellHistorySpinBox)

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem)
        self.vboxlayout.addLayout(self.hboxlayout1)

        spacerItem1 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem1)

        self.retranslateUi(ShellPage)
        QtCore.QObject.connect(self.shellLinenowidthSlider,QtCore.SIGNAL("valueChanged(int)"),self.shellLinenowidthLCD.display)
        QtCore.QMetaObject.connectSlotsByName(ShellPage)
        ShellPage.setTabOrder(self.shellLinenowidthSlider,self.shellLinenoCheckBox)
        ShellPage.setTabOrder(self.shellLinenoCheckBox,self.shellACEnabledCheckBox)
        ShellPage.setTabOrder(self.shellACEnabledCheckBox,self.shellSyntaxHighlightingCheckBox)
        ShellPage.setTabOrder(self.shellSyntaxHighlightingCheckBox,self.shellWordWrapCheckBox)
        ShellPage.setTabOrder(self.shellWordWrapCheckBox,self.shellCTEnabledCheckBox)
        ShellPage.setTabOrder(self.shellCTEnabledCheckBox,self.shellHistorySpinBox)

    def retranslateUi(self, ShellPage):
        self.headerLabel.setText(QtGui.QApplication.translate("ShellPage", "<b>Configure Shell</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel13_2_2_2_2.setText(QtGui.QApplication.translate("ShellPage", "Linenumbers width:", None, QtGui.QApplication.UnicodeUTF8))
        self.shellLinenowidthSlider.setToolTip(QtGui.QApplication.translate("ShellPage", "Move to set the width of the linenumbers margin.", None, QtGui.QApplication.UnicodeUTF8))
        self.shellLinenowidthLCD.setToolTip(QtGui.QApplication.translate("ShellPage", "Displays the selected width of the linenumbers margin.", None, QtGui.QApplication.UnicodeUTF8))
        self.shellLinenoCheckBox.setToolTip(QtGui.QApplication.translate("ShellPage", "Select whether line numbers margin should be shown.", None, QtGui.QApplication.UnicodeUTF8))
        self.shellLinenoCheckBox.setText(QtGui.QApplication.translate("ShellPage", "Show Line Numbers Margin", None, QtGui.QApplication.UnicodeUTF8))
        self.shellCTEnabledCheckBox.setToolTip(QtGui.QApplication.translate("ShellPage", "Select this to enable calltips", None, QtGui.QApplication.UnicodeUTF8))
        self.shellCTEnabledCheckBox.setText(QtGui.QApplication.translate("ShellPage", "Calltips Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.shellWordWrapCheckBox.setToolTip(QtGui.QApplication.translate("ShellPage", "Select to enable wrapping at word boundaries", None, QtGui.QApplication.UnicodeUTF8))
        self.shellWordWrapCheckBox.setText(QtGui.QApplication.translate("ShellPage", "Word Wrap Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.shellACEnabledCheckBox.setToolTip(QtGui.QApplication.translate("ShellPage", "Select this to enable autocompletion", None, QtGui.QApplication.UnicodeUTF8))
        self.shellACEnabledCheckBox.setText(QtGui.QApplication.translate("ShellPage", "Autocompletion Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.shellSyntaxHighlightingCheckBox.setToolTip(QtGui.QApplication.translate("ShellPage", "Select to enable syntax highlighting", None, QtGui.QApplication.UnicodeUTF8))
        self.shellSyntaxHighlightingCheckBox.setText(QtGui.QApplication.translate("ShellPage", "Syntax Highlighting Enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_20.setText(QtGui.QApplication.translate("ShellPage", "max. History Entries:", None, QtGui.QApplication.UnicodeUTF8))
        self.shellHistorySpinBox.setToolTip(QtGui.QApplication.translate("ShellPage", "Enter the number of history entries allowed", None, QtGui.QApplication.UnicodeUTF8))



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