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

# Form implementation generated from reading ui file '/home/offedetl/Development/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/EditorTypingPage.ui'
#
# Created: Mon May 21 08:01:55 2007
#      by: PyQt4 UI code generator 4-snapshot-20070513
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EditorTypingPage(object):
    def setupUi(self, EditorTypingPage):
        EditorTypingPage.setObjectName("EditorTypingPage")
        EditorTypingPage.resize(QtCore.QSize(QtCore.QRect(0,0,531,531).size()).expandedTo(EditorTypingPage.minimumSizeHint()))

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

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

        self.line1 = QtGui.QFrame(EditorTypingPage)
        self.line1.setFrameShape(QtGui.QFrame.HLine)
        self.line1.setFrameShadow(QtGui.QFrame.Sunken)
        self.line1.setFrameShape(QtGui.QFrame.HLine)
        self.line1.setFrameShadow(QtGui.QFrame.Sunken)
        self.line1.setObjectName("line1")
        self.vboxlayout.addWidget(self.line1)

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

        self.TextLabel1_3 = QtGui.QLabel(EditorTypingPage)
        self.TextLabel1_3.setObjectName("TextLabel1_3")
        self.hboxlayout.addWidget(self.TextLabel1_3)

        self.languageCombo = QtGui.QComboBox(EditorTypingPage)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.languageCombo.sizePolicy().hasHeightForWidth())
        self.languageCombo.setSizePolicy(sizePolicy)
        self.languageCombo.setObjectName("languageCombo")
        self.hboxlayout.addWidget(self.languageCombo)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.stackedWidget = QtGui.QStackedWidget(EditorTypingPage)
        self.stackedWidget.setObjectName("stackedWidget")

        self.emptyPage = QtGui.QWidget()
        self.emptyPage.setObjectName("emptyPage")
        self.stackedWidget.addWidget(self.emptyPage)

        self.pythonPage = QtGui.QWidget()
        self.pythonPage.setObjectName("pythonPage")

        self.vboxlayout1 = QtGui.QVBoxLayout(self.pythonPage)
        self.vboxlayout1.setMargin(6)
        self.vboxlayout1.setSpacing(6)
        self.vboxlayout1.setObjectName("vboxlayout1")

        self.pythonGroup = QtGui.QGroupBox(self.pythonPage)
        self.pythonGroup.setFocusPolicy(QtCore.Qt.TabFocus)
        self.pythonGroup.setCheckable(True)
        self.pythonGroup.setObjectName("pythonGroup")

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

        self.pythonDedentExceptCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonDedentExceptCheckBox.setObjectName("pythonDedentExceptCheckBox")
        self.gridlayout.addWidget(self.pythonDedentExceptCheckBox,6,0,1,2)

        self.pythonDedentExceptPy24CheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonDedentExceptPy24CheckBox.setEnabled(False)
        self.pythonDedentExceptPy24CheckBox.setObjectName("pythonDedentExceptPy24CheckBox")
        self.gridlayout.addWidget(self.pythonDedentExceptPy24CheckBox,7,1,1,1)

        spacerItem = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem,7,0,1,1)

        spacerItem1 = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1,1,0,1,1)

        self.pythonDedentElseCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonDedentElseCheckBox.setObjectName("pythonDedentElseCheckBox")
        self.gridlayout.addWidget(self.pythonDedentElseCheckBox,5,0,1,2)

        self.pythonInsertBlankCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertBlankCheckBox.setObjectName("pythonInsertBlankCheckBox")
        self.gridlayout.addWidget(self.pythonInsertBlankCheckBox,10,0,1,2)

        self.pythonInsertSelfCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertSelfCheckBox.setObjectName("pythonInsertSelfCheckBox")
        self.gridlayout.addWidget(self.pythonInsertSelfCheckBox,9,0,1,2)

        self.pythonInsertImportCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertImportCheckBox.setObjectName("pythonInsertImportCheckBox")
        self.gridlayout.addWidget(self.pythonInsertImportCheckBox,8,0,1,2)

        self.pythonSkipBraceCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonSkipBraceCheckBox.setEnabled(False)
        self.pythonSkipBraceCheckBox.setObjectName("pythonSkipBraceCheckBox")
        self.gridlayout.addWidget(self.pythonSkipBraceCheckBox,1,1,1,1)

        self.pythonInsertQuoteCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertQuoteCheckBox.setObjectName("pythonInsertQuoteCheckBox")
        self.gridlayout.addWidget(self.pythonInsertQuoteCheckBox,4,0,1,2)

        self.pythonColonDetectionCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonColonDetectionCheckBox.setObjectName("pythonColonDetectionCheckBox")
        self.gridlayout.addWidget(self.pythonColonDetectionCheckBox,2,0,1,2)

        self.pythonInsertClosingBraceCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertClosingBraceCheckBox.setObjectName("pythonInsertClosingBraceCheckBox")
        self.gridlayout.addWidget(self.pythonInsertClosingBraceCheckBox,0,0,1,2)

        self.pythonIndentBraceCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonIndentBraceCheckBox.setObjectName("pythonIndentBraceCheckBox")
        self.gridlayout.addWidget(self.pythonIndentBraceCheckBox,3,0,1,2)
        self.vboxlayout1.addWidget(self.pythonGroup)

        spacerItem2 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout1.addItem(spacerItem2)
        self.stackedWidget.addWidget(self.pythonPage)

        self.rubyPage = QtGui.QWidget()
        self.rubyPage.setObjectName("rubyPage")

        self.vboxlayout2 = QtGui.QVBoxLayout(self.rubyPage)
        self.vboxlayout2.setMargin(6)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.rubyGroup = QtGui.QGroupBox(self.rubyPage)
        self.rubyGroup.setFocusPolicy(QtCore.Qt.TabFocus)
        self.rubyGroup.setCheckable(True)
        self.rubyGroup.setObjectName("rubyGroup")

        self.vboxlayout3 = QtGui.QVBoxLayout(self.rubyGroup)
        self.vboxlayout3.setMargin(6)
        self.vboxlayout3.setSpacing(6)
        self.vboxlayout3.setObjectName("vboxlayout3")

        self.rubyInsertClosingBraceCheckBox = QtGui.QCheckBox(self.rubyGroup)
        self.rubyInsertClosingBraceCheckBox.setObjectName("rubyInsertClosingBraceCheckBox")
        self.vboxlayout3.addWidget(self.rubyInsertClosingBraceCheckBox)

        spacerItem3 = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.vboxlayout3.addItem(spacerItem3)

        self.rubySkipBraceCheckBox = QtGui.QCheckBox(self.rubyGroup)
        self.rubySkipBraceCheckBox.setObjectName("rubySkipBraceCheckBox")
        self.vboxlayout3.addWidget(self.rubySkipBraceCheckBox)

        self.rubyIndentBraceCheckBox = QtGui.QCheckBox(self.rubyGroup)
        self.rubyIndentBraceCheckBox.setObjectName("rubyIndentBraceCheckBox")
        self.vboxlayout3.addWidget(self.rubyIndentBraceCheckBox)

        self.rubyInsertQuoteCheckBox = QtGui.QCheckBox(self.rubyGroup)
        self.rubyInsertQuoteCheckBox.setObjectName("rubyInsertQuoteCheckBox")
        self.vboxlayout3.addWidget(self.rubyInsertQuoteCheckBox)

        self.rubyInsertBlankCheckBox = QtGui.QCheckBox(self.rubyGroup)
        self.rubyInsertBlankCheckBox.setObjectName("rubyInsertBlankCheckBox")
        self.vboxlayout3.addWidget(self.rubyInsertBlankCheckBox)

        self.rubyInsertHereDocCheckBox = QtGui.QCheckBox(self.rubyGroup)
        self.rubyInsertHereDocCheckBox.setObjectName("rubyInsertHereDocCheckBox")
        self.vboxlayout3.addWidget(self.rubyInsertHereDocCheckBox)

        self.rubyInsertInlineDocCheckBox = QtGui.QCheckBox(self.rubyGroup)
        self.rubyInsertInlineDocCheckBox.setObjectName("rubyInsertInlineDocCheckBox")
        self.vboxlayout3.addWidget(self.rubyInsertInlineDocCheckBox)
        self.vboxlayout2.addWidget(self.rubyGroup)

        spacerItem4 = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout2.addItem(spacerItem4)
        self.stackedWidget.addWidget(self.rubyPage)
        self.vboxlayout.addWidget(self.stackedWidget)

        spacerItem5 = QtGui.QSpacerItem(519,31,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem5)

        self.retranslateUi(EditorTypingPage)
        self.stackedWidget.setCurrentIndex(1)
        QtCore.QObject.connect(self.pythonInsertClosingBraceCheckBox,QtCore.SIGNAL("toggled(bool)"),self.pythonSkipBraceCheckBox.setEnabled)
        QtCore.QObject.connect(self.pythonInsertClosingBraceCheckBox,QtCore.SIGNAL("toggled(bool)"),self.pythonSkipBraceCheckBox.setChecked)
        QtCore.QObject.connect(self.pythonDedentExceptCheckBox,QtCore.SIGNAL("toggled(bool)"),self.pythonDedentExceptPy24CheckBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(EditorTypingPage)
        EditorTypingPage.setTabOrder(self.languageCombo,self.pythonGroup)
        EditorTypingPage.setTabOrder(self.pythonGroup,self.pythonInsertClosingBraceCheckBox)
        EditorTypingPage.setTabOrder(self.pythonInsertClosingBraceCheckBox,self.pythonSkipBraceCheckBox)
        EditorTypingPage.setTabOrder(self.pythonSkipBraceCheckBox,self.pythonColonDetectionCheckBox)
        EditorTypingPage.setTabOrder(self.pythonColonDetectionCheckBox,self.pythonIndentBraceCheckBox)
        EditorTypingPage.setTabOrder(self.pythonIndentBraceCheckBox,self.pythonInsertQuoteCheckBox)
        EditorTypingPage.setTabOrder(self.pythonInsertQuoteCheckBox,self.pythonDedentElseCheckBox)
        EditorTypingPage.setTabOrder(self.pythonDedentElseCheckBox,self.pythonDedentExceptCheckBox)
        EditorTypingPage.setTabOrder(self.pythonDedentExceptCheckBox,self.pythonDedentExceptPy24CheckBox)
        EditorTypingPage.setTabOrder(self.pythonDedentExceptPy24CheckBox,self.pythonInsertImportCheckBox)
        EditorTypingPage.setTabOrder(self.pythonInsertImportCheckBox,self.pythonInsertSelfCheckBox)
        EditorTypingPage.setTabOrder(self.pythonInsertSelfCheckBox,self.pythonInsertBlankCheckBox)
        EditorTypingPage.setTabOrder(self.pythonInsertBlankCheckBox,self.rubyGroup)
        EditorTypingPage.setTabOrder(self.rubyGroup,self.rubyInsertClosingBraceCheckBox)
        EditorTypingPage.setTabOrder(self.rubyInsertClosingBraceCheckBox,self.rubySkipBraceCheckBox)
        EditorTypingPage.setTabOrder(self.rubySkipBraceCheckBox,self.rubyIndentBraceCheckBox)
        EditorTypingPage.setTabOrder(self.rubyIndentBraceCheckBox,self.rubyInsertQuoteCheckBox)
        EditorTypingPage.setTabOrder(self.rubyInsertQuoteCheckBox,self.rubyInsertBlankCheckBox)

    def retranslateUi(self, EditorTypingPage):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorTypingPage", "<b>Configure typing</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_3.setText(QtGui.QApplication.translate("EditorTypingPage", "Programming Language:", None, QtGui.QApplication.UnicodeUTF8))
        self.languageCombo.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select the programming language to be configured.", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonGroup.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to enable Python typing aids", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonGroup.setTitle(QtGui.QApplication.translate("EditorTypingPage", "Enable Python typing aids", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonDedentExceptCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to dedent \'except\' and \'finally\' to the matching \'try:\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonDedentExceptCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic dedent of \'except\' and \'finally\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonDedentExceptPy24CheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to treat code as Python 2.4 code", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonDedentExceptPy24CheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Python 2.4 style \'try:\' blocks", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonDedentElseCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to dedent \'else:\' and \'elif\' to the matching \'if\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonDedentElseCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic dedent of \'else:\' and \'elif\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertBlankCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to insert a blank after \',\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertBlankCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic insertion of \' \' (blank) after \',\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertSelfCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to insert the \'self\' string when declaring a method", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertSelfCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic insertion of \'self\' when declaring methods", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertImportCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to insert the \'import\' string", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertImportCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic insertion of the \'import\' string on \'from xxx\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonSkipBraceCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to skip matching braces when typing", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonSkipBraceCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatically skip matching braces when typing", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertQuoteCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to insert the matching quote character", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertQuoteCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic quote insertion", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonColonDetectionCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to skip a \':\', if typed next to another \':\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonColonDetectionCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic colon detection", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertClosingBraceCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to insert a closing parenthesis", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonInsertClosingBraceCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic parenthesis insertion", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonIndentBraceCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to indent to the brace level after typing \'return\'", None, QtGui.QApplication.UnicodeUTF8))
        self.pythonIndentBraceCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "After \'(\' indent to its level", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyGroup.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to enable Ruby typing aids", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyGroup.setTitle(QtGui.QApplication.translate("EditorTypingPage", "Enable Ruby typing aids", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertClosingBraceCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to insert a closing parenthesis", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertClosingBraceCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic parenthesis insertion", None, QtGui.QApplication.UnicodeUTF8))
        self.rubySkipBraceCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to skip matching braces when typing", None, QtGui.QApplication.UnicodeUTF8))
        self.rubySkipBraceCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatically skip matching braces when typing", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyIndentBraceCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to indent to the brace level after typing \'return\'", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyIndentBraceCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "After \'(\' indent to its level", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertQuoteCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to insert the matching quote character", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertQuoteCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic quote insertion", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertBlankCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to insert a blank after \',\'", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertBlankCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic insertion of \' \' (blank) after \',\'", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertHereDocCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to automatically complete a here document", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertHereDocCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic completion of here document", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertInlineDocCheckBox.setToolTip(QtGui.QApplication.translate("EditorTypingPage", "Select to automatically insert \'=end\' after entering \'=begin\'", None, QtGui.QApplication.UnicodeUTF8))
        self.rubyInsertInlineDocCheckBox.setText(QtGui.QApplication.translate("EditorTypingPage", "Automatic insertion of \'=end\' after \'=begin\'", None, QtGui.QApplication.UnicodeUTF8))



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