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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorGeneralPage.ui'
#
# Created: Mon May 10 20:39:46 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_EditorGeneralPage(object):
    def setupUi(self, EditorGeneralPage):
        EditorGeneralPage.setObjectName("EditorGeneralPage")
        EditorGeneralPage.resize(553, 593)
        self.verticalLayout = QtGui.QVBoxLayout(EditorGeneralPage)
        self.verticalLayout.setObjectName("verticalLayout")
        self.headerLabel = QtGui.QLabel(EditorGeneralPage)
        self.headerLabel.setObjectName("headerLabel")
        self.verticalLayout.addWidget(self.headerLabel)
        self.line2 = QtGui.QFrame(EditorGeneralPage)
        self.line2.setFrameShape(QtGui.QFrame.HLine)
        self.line2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line2.setFrameShape(QtGui.QFrame.HLine)
        self.line2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line2.setObjectName("line2")
        self.verticalLayout.addWidget(self.line2)
        self.groupBox_5 = QtGui.QGroupBox(EditorGeneralPage)
        self.groupBox_5.setObjectName("groupBox_5")
        self.vboxlayout = QtGui.QVBoxLayout(self.groupBox_5)
        self.vboxlayout.setObjectName("vboxlayout")
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName("gridlayout")
        self.TextLabel13_3 = QtGui.QLabel(self.groupBox_5)
        self.TextLabel13_3.setObjectName("TextLabel13_3")
        self.gridlayout.addWidget(self.TextLabel13_3, 0, 0, 1, 1)
        self.tabwidthSlider = QtGui.QSlider(self.groupBox_5)
        self.tabwidthSlider.setMinimum(1)
        self.tabwidthSlider.setMaximum(20)
        self.tabwidthSlider.setProperty("value", QtCore.QVariant(4))
        self.tabwidthSlider.setOrientation(QtCore.Qt.Horizontal)
        self.tabwidthSlider.setTickInterval(1)
        self.tabwidthSlider.setObjectName("tabwidthSlider")
        self.gridlayout.addWidget(self.tabwidthSlider, 0, 1, 1, 1)
        self.tabwidthLCD = QtGui.QLCDNumber(self.groupBox_5)
        self.tabwidthLCD.setNumDigits(2)
        self.tabwidthLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.tabwidthLCD.setProperty("value", QtCore.QVariant(4.0))
        self.tabwidthLCD.setObjectName("tabwidthLCD")
        self.gridlayout.addWidget(self.tabwidthLCD, 0, 2, 1, 1)
        self.TextLabel13_2_3 = QtGui.QLabel(self.groupBox_5)
        self.TextLabel13_2_3.setObjectName("TextLabel13_2_3")
        self.gridlayout.addWidget(self.TextLabel13_2_3, 1, 0, 1, 1)
        self.indentwidthSlider = QtGui.QSlider(self.groupBox_5)
        self.indentwidthSlider.setMinimum(1)
        self.indentwidthSlider.setMaximum(20)
        self.indentwidthSlider.setProperty("value", QtCore.QVariant(4))
        self.indentwidthSlider.setOrientation(QtCore.Qt.Horizontal)
        self.indentwidthSlider.setTickInterval(1)
        self.indentwidthSlider.setObjectName("indentwidthSlider")
        self.gridlayout.addWidget(self.indentwidthSlider, 1, 1, 1, 1)
        self.indentwidthLCD = QtGui.QLCDNumber(self.groupBox_5)
        self.indentwidthLCD.setNumDigits(2)
        self.indentwidthLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.indentwidthLCD.setProperty("value", QtCore.QVariant(4.0))
        self.indentwidthLCD.setObjectName("indentwidthLCD")
        self.gridlayout.addWidget(self.indentwidthLCD, 1, 2, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout)
        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName("gridlayout1")
        self.indentguidesCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.indentguidesCheckBox.setObjectName("indentguidesCheckBox")
        self.gridlayout1.addWidget(self.indentguidesCheckBox, 0, 0, 1, 1)
        self.tabforindentationCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.tabforindentationCheckBox.setObjectName("tabforindentationCheckBox")
        self.gridlayout1.addWidget(self.tabforindentationCheckBox, 0, 1, 1, 1)
        self.autoindentCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.autoindentCheckBox.setObjectName("autoindentCheckBox")
        self.gridlayout1.addWidget(self.autoindentCheckBox, 1, 0, 1, 1)
        self.converttabsCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.converttabsCheckBox.setObjectName("converttabsCheckBox")
        self.gridlayout1.addWidget(self.converttabsCheckBox, 1, 1, 1, 1)
        self.tabindentsCheckBox = QtGui.QCheckBox(self.groupBox_5)
        self.tabindentsCheckBox.setObjectName("tabindentsCheckBox")
        self.gridlayout1.addWidget(self.tabindentsCheckBox, 2, 0, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout1)
        self.verticalLayout.addWidget(self.groupBox_5)
        self.groupBox = QtGui.QGroupBox(EditorGeneralPage)
        self.groupBox.setObjectName("groupBox")
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName("gridLayout")
        self.comment0CheckBox = QtGui.QCheckBox(self.groupBox)
        self.comment0CheckBox.setObjectName("comment0CheckBox")
        self.gridLayout.addWidget(self.comment0CheckBox, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox)
        spacerItem = QtGui.QSpacerItem(535, 101, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.TextLabel13_3.setBuddy(self.tabwidthSlider)
        self.TextLabel13_2_3.setBuddy(self.indentwidthSlider)

        self.retranslateUi(EditorGeneralPage)
        QtCore.QObject.connect(self.tabwidthSlider, QtCore.SIGNAL("valueChanged(int)"), self.tabwidthLCD.display)
        QtCore.QObject.connect(self.indentwidthSlider, QtCore.SIGNAL("valueChanged(int)"), self.indentwidthLCD.display)
        QtCore.QMetaObject.connectSlotsByName(EditorGeneralPage)
        EditorGeneralPage.setTabOrder(self.tabwidthSlider, self.indentwidthSlider)
        EditorGeneralPage.setTabOrder(self.indentwidthSlider, self.indentguidesCheckBox)
        EditorGeneralPage.setTabOrder(self.indentguidesCheckBox, self.autoindentCheckBox)
        EditorGeneralPage.setTabOrder(self.autoindentCheckBox, self.tabindentsCheckBox)
        EditorGeneralPage.setTabOrder(self.tabindentsCheckBox, self.tabforindentationCheckBox)
        EditorGeneralPage.setTabOrder(self.tabforindentationCheckBox, self.converttabsCheckBox)

    def retranslateUi(self, EditorGeneralPage):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorGeneralPage", "<b>Configure general editor settings</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setTitle(QtGui.QApplication.translate("EditorGeneralPage", "Tabs && Indentation", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel13_3.setText(QtGui.QApplication.translate("EditorGeneralPage", "Tab width:", None, QtGui.QApplication.UnicodeUTF8))
        self.tabwidthSlider.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Move to set the tab width.", None, QtGui.QApplication.UnicodeUTF8))
        self.tabwidthLCD.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Displays the selected tab width.", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel13_2_3.setText(QtGui.QApplication.translate("EditorGeneralPage", "Indentation width:", None, QtGui.QApplication.UnicodeUTF8))
        self.indentwidthSlider.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Move to set the indentation width.", None, QtGui.QApplication.UnicodeUTF8))
        self.indentwidthLCD.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Displays the selected indentation width.", None, QtGui.QApplication.UnicodeUTF8))
        self.indentguidesCheckBox.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Select whether indentation guides should be shown.", None, QtGui.QApplication.UnicodeUTF8))
        self.indentguidesCheckBox.setText(QtGui.QApplication.translate("EditorGeneralPage", "Show Indentation Guides", None, QtGui.QApplication.UnicodeUTF8))
        self.tabforindentationCheckBox.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Select whether tab characters are used for indentations.", None, QtGui.QApplication.UnicodeUTF8))
        self.tabforindentationCheckBox.setText(QtGui.QApplication.translate("EditorGeneralPage", "Use tabs for indentations", None, QtGui.QApplication.UnicodeUTF8))
        self.autoindentCheckBox.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Select whether autoindentation shall be enabled", None, QtGui.QApplication.UnicodeUTF8))
        self.autoindentCheckBox.setText(QtGui.QApplication.translate("EditorGeneralPage", "Auto indentation", None, QtGui.QApplication.UnicodeUTF8))
        self.converttabsCheckBox.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Select whether tabs shall be converted upon opening the file", None, QtGui.QApplication.UnicodeUTF8))
        self.converttabsCheckBox.setText(QtGui.QApplication.translate("EditorGeneralPage", "Convert tabs upon open", None, QtGui.QApplication.UnicodeUTF8))
        self.tabindentsCheckBox.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Select whether pressing the tab key indents.", None, QtGui.QApplication.UnicodeUTF8))
        self.tabindentsCheckBox.setText(QtGui.QApplication.translate("EditorGeneralPage", "Tab key indents", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("EditorGeneralPage", "Comments", None, QtGui.QApplication.UnicodeUTF8))
        self.comment0CheckBox.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Select to insert the comment sign at column 0", None, QtGui.QApplication.UnicodeUTF8))
        self.comment0CheckBox.setWhatsThis(QtGui.QApplication.translate("EditorGeneralPage", "<b>Insert comment at column 0</b><p>Select to insert the comment sign at column 0. Otherwise, the comment sign is inserted at the first non-whitespace position.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.comment0CheckBox.setText(QtGui.QApplication.translate("EditorGeneralPage", "Insert comment at column 0", None, QtGui.QApplication.UnicodeUTF8))

