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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorGeneralPage.ui'
#
# Created: Thu Mar 15 18:48:27 2012
#      by: PyQt4 UI code generator 4.8.5
#
# 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_EditorGeneralPage(object):
    def setupUi(self, EditorGeneralPage):
        EditorGeneralPage.setObjectName(_fromUtf8("EditorGeneralPage"))
        EditorGeneralPage.resize(553, 593)
        self.verticalLayout = QtGui.QVBoxLayout(EditorGeneralPage)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.headerLabel = QtGui.QLabel(EditorGeneralPage)
        self.headerLabel.setText(QtGui.QApplication.translate("EditorGeneralPage", "<b>Configure general editor settings</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.headerLabel.setObjectName(_fromUtf8("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(_fromUtf8("line2"))
        self.verticalLayout.addWidget(self.line2)
        self.groupBox_5 = QtGui.QGroupBox(EditorGeneralPage)
        self.groupBox_5.setTitle(QtGui.QApplication.translate("EditorGeneralPage", "Tabs && Indentation", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.vboxlayout = QtGui.QVBoxLayout(self.groupBox_5)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.gridlayout = QtGui.QGridLayout()
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.TextLabel13_3 = QtGui.QLabel(self.groupBox_5)
        self.TextLabel13_3.setText(QtGui.QApplication.translate("EditorGeneralPage", "Tab width:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel13_3.setObjectName(_fromUtf8("TextLabel13_3"))
        self.gridlayout.addWidget(self.TextLabel13_3, 0, 0, 1, 1)
        self.tabwidthSlider = QtGui.QSlider(self.groupBox_5)
        self.tabwidthSlider.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Move to set the tab width.", None, QtGui.QApplication.UnicodeUTF8))
        self.tabwidthSlider.setMinimum(1)
        self.tabwidthSlider.setMaximum(20)
        self.tabwidthSlider.setProperty("value", 4)
        self.tabwidthSlider.setOrientation(QtCore.Qt.Horizontal)
        self.tabwidthSlider.setTickInterval(1)
        self.tabwidthSlider.setObjectName(_fromUtf8("tabwidthSlider"))
        self.gridlayout.addWidget(self.tabwidthSlider, 0, 1, 1, 1)
        self.tabwidthLCD = QtGui.QLCDNumber(self.groupBox_5)
        self.tabwidthLCD.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Displays the selected tab width.", None, QtGui.QApplication.UnicodeUTF8))
        self.tabwidthLCD.setNumDigits(2)
        self.tabwidthLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.tabwidthLCD.setProperty("value", 4.0)
        self.tabwidthLCD.setObjectName(_fromUtf8("tabwidthLCD"))
        self.gridlayout.addWidget(self.tabwidthLCD, 0, 2, 1, 1)
        self.TextLabel13_2_3 = QtGui.QLabel(self.groupBox_5)
        self.TextLabel13_2_3.setText(QtGui.QApplication.translate("EditorGeneralPage", "Indentation width:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel13_2_3.setObjectName(_fromUtf8("TextLabel13_2_3"))
        self.gridlayout.addWidget(self.TextLabel13_2_3, 1, 0, 1, 1)
        self.indentwidthSlider = QtGui.QSlider(self.groupBox_5)
        self.indentwidthSlider.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Move to set the indentation width.", None, QtGui.QApplication.UnicodeUTF8))
        self.indentwidthSlider.setMinimum(1)
        self.indentwidthSlider.setMaximum(20)
        self.indentwidthSlider.setProperty("value", 4)
        self.indentwidthSlider.setOrientation(QtCore.Qt.Horizontal)
        self.indentwidthSlider.setTickInterval(1)
        self.indentwidthSlider.setObjectName(_fromUtf8("indentwidthSlider"))
        self.gridlayout.addWidget(self.indentwidthSlider, 1, 1, 1, 1)
        self.indentwidthLCD = QtGui.QLCDNumber(self.groupBox_5)
        self.indentwidthLCD.setToolTip(QtGui.QApplication.translate("EditorGeneralPage", "Displays the selected indentation width.", None, QtGui.QApplication.UnicodeUTF8))
        self.indentwidthLCD.setNumDigits(2)
        self.indentwidthLCD.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.indentwidthLCD.setProperty("value", 4.0)
        self.indentwidthLCD.setObjectName(_fromUtf8("indentwidthLCD"))
        self.gridlayout.addWidget(self.indentwidthLCD, 1, 2, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout)
        self.gridlayout1 = QtGui.QGridLayout()
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.indentguidesCheckBox = QtGui.QCheckBox(self.groupBox_5)
        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.indentguidesCheckBox.setObjectName(_fromUtf8("indentguidesCheckBox"))
        self.gridlayout1.addWidget(self.indentguidesCheckBox, 0, 0, 1, 1)
        self.tabforindentationCheckBox = QtGui.QCheckBox(self.groupBox_5)
        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.tabforindentationCheckBox.setObjectName(_fromUtf8("tabforindentationCheckBox"))
        self.gridlayout1.addWidget(self.tabforindentationCheckBox, 0, 1, 1, 1)
        self.autoindentCheckBox = QtGui.QCheckBox(self.groupBox_5)
        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.autoindentCheckBox.setObjectName(_fromUtf8("autoindentCheckBox"))
        self.gridlayout1.addWidget(self.autoindentCheckBox, 1, 0, 1, 1)
        self.converttabsCheckBox = QtGui.QCheckBox(self.groupBox_5)
        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.converttabsCheckBox.setObjectName(_fromUtf8("converttabsCheckBox"))
        self.gridlayout1.addWidget(self.converttabsCheckBox, 1, 1, 1, 1)
        self.tabindentsCheckBox = QtGui.QCheckBox(self.groupBox_5)
        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.tabindentsCheckBox.setObjectName(_fromUtf8("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.setTitle(QtGui.QApplication.translate("EditorGeneralPage", "Comments", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridLayout = QtGui.QGridLayout(self.groupBox)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.comment0CheckBox = QtGui.QCheckBox(self.groupBox)
        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))
        self.comment0CheckBox.setObjectName(_fromUtf8("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(_fromUtf8("valueChanged(int)")), self.tabwidthLCD.display)
        QtCore.QObject.connect(self.indentwidthSlider, QtCore.SIGNAL(_fromUtf8("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):
        pass

