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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_1/eric4/Preferences/ConfigurationPages/EditorTypingPage.ui'
#
# Created: Sat Jun 30 18:40:18 2007
#      by: PyQt4 UI code generator 4-snapshot-20070606
#
# 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.setSpacing(6)
        self.vboxlayout.setMargin(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.setSpacing(6)
        self.hboxlayout.setMargin(0)
        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.Expanding,QtGui.QSizePolicy.Fixed)
        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.setSpacing(6)
        self.vboxlayout1.setMargin(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.vboxlayout2 = QtGui.QVBoxLayout(self.pythonGroup)
        self.vboxlayout2.setSpacing(6)
        self.vboxlayout2.setMargin(6)
        self.vboxlayout2.setObjectName("vboxlayout2")

        self.pythonInsertClosingBraceCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertClosingBraceCheckBox.setObjectName("pythonInsertClosingBraceCheckBox")
        self.vboxlayout2.addWidget(self.pythonInsertClosingBraceCheckBox)

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

        spacerItem = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem)

        self.pythonSkipBraceCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonSkipBraceCheckBox.setEnabled(False)
        self.pythonSkipBraceCheckBox.setObjectName("pythonSkipBraceCheckBox")
        self.hboxlayout1.addWidget(self.pythonSkipBraceCheckBox)

        spacerItem1 = QtGui.QSpacerItem(131,21,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout1.addItem(spacerItem1)
        self.vboxlayout2.addLayout(self.hboxlayout1)

        self.pythonColonDetectionCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonColonDetectionCheckBox.setObjectName("pythonColonDetectionCheckBox")
        self.vboxlayout2.addWidget(self.pythonColonDetectionCheckBox)

        self.pythonIndentBraceCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonIndentBraceCheckBox.setObjectName("pythonIndentBraceCheckBox")
        self.vboxlayout2.addWidget(self.pythonIndentBraceCheckBox)

        self.pythonInsertQuoteCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertQuoteCheckBox.setObjectName("pythonInsertQuoteCheckBox")
        self.vboxlayout2.addWidget(self.pythonInsertQuoteCheckBox)

        self.pythonDedentElseCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonDedentElseCheckBox.setObjectName("pythonDedentElseCheckBox")
        self.vboxlayout2.addWidget(self.pythonDedentElseCheckBox)

        self.pythonDedentExceptCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonDedentExceptCheckBox.setObjectName("pythonDedentExceptCheckBox")
        self.vboxlayout2.addWidget(self.pythonDedentExceptCheckBox)

        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setSpacing(6)
        self.hboxlayout2.setObjectName("hboxlayout2")

        spacerItem2 = QtGui.QSpacerItem(20,20,QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem2)

        self.pythonDedentExceptPy24CheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonDedentExceptPy24CheckBox.setEnabled(False)
        self.pythonDedentExceptPy24CheckBox.setObjectName("pythonDedentExceptPy24CheckBox")
        self.hboxlayout2.addWidget(self.pythonDedentExceptPy24CheckBox)

        spacerItem3 = QtGui.QSpacerItem(261,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout2.addItem(spacerItem3)
        self.vboxlayout2.addLayout(self.hboxlayout2)

        self.pythonInsertImportCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertImportCheckBox.setObjectName("pythonInsertImportCheckBox")
        self.vboxlayout2.addWidget(self.pythonInsertImportCheckBox)

        self.pythonInsertSelfCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertSelfCheckBox.setObjectName("pythonInsertSelfCheckBox")
        self.vboxlayout2.addWidget(self.pythonInsertSelfCheckBox)

        self.pythonInsertBlankCheckBox = QtGui.QCheckBox(self.pythonGroup)
        self.pythonInsertBlankCheckBox.setObjectName("pythonInsertBlankCheckBox")
        self.vboxlayout2.addWidget(self.pythonInsertBlankCheckBox)
        self.vboxlayout1.addWidget(self.pythonGroup)

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

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

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

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

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

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

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

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

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

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

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

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

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

        spacerItem6 = QtGui.QSpacerItem(519,20,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.vboxlayout.addItem(spacerItem6)

        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.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.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.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.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.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.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.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.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.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.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.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_())
