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

# Form implementation generated from reading ui file 'eric/Preferences/ConfigurationPages/EditorHighlightersPage.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_EditorHighlightersPage(object):
    def setupUi(self, EditorHighlightersPage):
        EditorHighlightersPage.setObjectName(_fromUtf8("EditorHighlightersPage"))
        EditorHighlightersPage.resize(400, 361)
        self.verticalLayout = QtGui.QVBoxLayout(EditorHighlightersPage)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.headerLabel = QtGui.QLabel(EditorHighlightersPage)
        self.headerLabel.setText(QtGui.QApplication.translate("EditorHighlightersPage", "<b>Configure syntax highlighters</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.headerLabel.setObjectName(_fromUtf8("headerLabel"))
        self.verticalLayout.addWidget(self.headerLabel)
        self.line19 = QtGui.QFrame(EditorHighlightersPage)
        self.line19.setFrameShape(QtGui.QFrame.HLine)
        self.line19.setFrameShadow(QtGui.QFrame.Sunken)
        self.line19.setFrameShape(QtGui.QFrame.HLine)
        self.line19.setFrameShadow(QtGui.QFrame.Sunken)
        self.line19.setObjectName(_fromUtf8("line19"))
        self.verticalLayout.addWidget(self.line19)
        self.editorLexerList = QtGui.QTreeWidget(EditorHighlightersPage)
        self.editorLexerList.setAlternatingRowColors(True)
        self.editorLexerList.setRootIsDecorated(False)
        self.editorLexerList.setObjectName(_fromUtf8("editorLexerList"))
        self.editorLexerList.headerItem().setText(0, QtGui.QApplication.translate("EditorHighlightersPage", "Filename Pattern", None, QtGui.QApplication.UnicodeUTF8))
        self.editorLexerList.headerItem().setText(1, QtGui.QApplication.translate("EditorHighlightersPage", "Lexer Language", None, QtGui.QApplication.UnicodeUTF8))
        self.verticalLayout.addWidget(self.editorLexerList)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.textLabel2_6 = QtGui.QLabel(EditorHighlightersPage)
        self.textLabel2_6.setText(QtGui.QApplication.translate("EditorHighlightersPage", "Filename Pattern:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_6.setObjectName(_fromUtf8("textLabel2_6"))
        self.gridLayout.addWidget(self.textLabel2_6, 0, 0, 1, 1)
        self.editorFileExtEdit = QtGui.QLineEdit(EditorHighlightersPage)
        self.editorFileExtEdit.setToolTip(QtGui.QApplication.translate("EditorHighlightersPage", "Enter the filename pattern to be associated", None, QtGui.QApplication.UnicodeUTF8))
        self.editorFileExtEdit.setObjectName(_fromUtf8("editorFileExtEdit"))
        self.gridLayout.addWidget(self.editorFileExtEdit, 0, 1, 1, 1)
        self.addLexerButton = QtGui.QPushButton(EditorHighlightersPage)
        self.addLexerButton.setToolTip(QtGui.QApplication.translate("EditorHighlightersPage", "Press to add or change the entered association", None, QtGui.QApplication.UnicodeUTF8))
        self.addLexerButton.setText(QtGui.QApplication.translate("EditorHighlightersPage", "Add/Change", None, QtGui.QApplication.UnicodeUTF8))
        self.addLexerButton.setObjectName(_fromUtf8("addLexerButton"))
        self.gridLayout.addWidget(self.addLexerButton, 0, 2, 1, 1)
        self.textLabel3_3 = QtGui.QLabel(EditorHighlightersPage)
        self.textLabel3_3.setText(QtGui.QApplication.translate("EditorHighlightersPage", "Lexer Language:", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3_3.setObjectName(_fromUtf8("textLabel3_3"))
        self.gridLayout.addWidget(self.textLabel3_3, 1, 0, 1, 1)
        self.editorLexerCombo = QtGui.QComboBox(EditorHighlightersPage)
        self.editorLexerCombo.setToolTip(QtGui.QApplication.translate("EditorHighlightersPage", "Select the lexer language to associate", None, QtGui.QApplication.UnicodeUTF8))
        self.editorLexerCombo.setObjectName(_fromUtf8("editorLexerCombo"))
        self.gridLayout.addWidget(self.editorLexerCombo, 1, 1, 1, 1)
        self.deleteLexerButton = QtGui.QPushButton(EditorHighlightersPage)
        self.deleteLexerButton.setToolTip(QtGui.QApplication.translate("EditorHighlightersPage", "Press to delete the selected association", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteLexerButton.setText(QtGui.QApplication.translate("EditorHighlightersPage", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteLexerButton.setObjectName(_fromUtf8("deleteLexerButton"))
        self.gridLayout.addWidget(self.deleteLexerButton, 1, 2, 1, 1)
        self.pygmentsLabel = QtGui.QLabel(EditorHighlightersPage)
        self.pygmentsLabel.setText(QtGui.QApplication.translate("EditorHighlightersPage", "Alternative Lexer:", None, QtGui.QApplication.UnicodeUTF8))
        self.pygmentsLabel.setObjectName(_fromUtf8("pygmentsLabel"))
        self.gridLayout.addWidget(self.pygmentsLabel, 2, 0, 1, 1)
        self.pygmentsLexerCombo = QtGui.QComboBox(EditorHighlightersPage)
        self.pygmentsLexerCombo.setToolTip(QtGui.QApplication.translate("EditorHighlightersPage", "Select the alternative lexer to associate", None, QtGui.QApplication.UnicodeUTF8))
        self.pygmentsLexerCombo.setObjectName(_fromUtf8("pygmentsLexerCombo"))
        self.gridLayout.addWidget(self.pygmentsLexerCombo, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)

        self.retranslateUi(EditorHighlightersPage)
        QtCore.QMetaObject.connectSlotsByName(EditorHighlightersPage)
        EditorHighlightersPage.setTabOrder(self.editorLexerList, self.editorFileExtEdit)
        EditorHighlightersPage.setTabOrder(self.editorFileExtEdit, self.editorLexerCombo)
        EditorHighlightersPage.setTabOrder(self.editorLexerCombo, self.pygmentsLexerCombo)
        EditorHighlightersPage.setTabOrder(self.pygmentsLexerCombo, self.addLexerButton)
        EditorHighlightersPage.setTabOrder(self.addLexerButton, self.deleteLexerButton)

    def retranslateUi(self, EditorHighlightersPage):
        self.editorLexerList.setSortingEnabled(True)

