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

# Form implementation generated from reading ui file 'eric/Project/LexerAssociationDialog.ui'
#
# Created: Thu Jul  8 14:17:59 2010
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_LexerAssociationDialog(object):
    def setupUi(self, LexerAssociationDialog):
        LexerAssociationDialog.setObjectName("LexerAssociationDialog")
        LexerAssociationDialog.resize(460, 418)
        LexerAssociationDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(LexerAssociationDialog)
        self.verticalLayout.setObjectName("verticalLayout")
        self.editorLexerList = QtGui.QTreeWidget(LexerAssociationDialog)
        self.editorLexerList.setAlternatingRowColors(True)
        self.editorLexerList.setRootIsDecorated(False)
        self.editorLexerList.setObjectName("editorLexerList")
        self.verticalLayout.addWidget(self.editorLexerList)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.textLabel2_6 = QtGui.QLabel(LexerAssociationDialog)
        self.textLabel2_6.setObjectName("textLabel2_6")
        self.gridLayout.addWidget(self.textLabel2_6, 0, 0, 1, 1)
        self.editorFileExtEdit = QtGui.QLineEdit(LexerAssociationDialog)
        self.editorFileExtEdit.setObjectName("editorFileExtEdit")
        self.gridLayout.addWidget(self.editorFileExtEdit, 0, 1, 1, 1)
        self.addLexerButton = QtGui.QPushButton(LexerAssociationDialog)
        self.addLexerButton.setObjectName("addLexerButton")
        self.gridLayout.addWidget(self.addLexerButton, 0, 2, 1, 1)
        self.textLabel3_3 = QtGui.QLabel(LexerAssociationDialog)
        self.textLabel3_3.setObjectName("textLabel3_3")
        self.gridLayout.addWidget(self.textLabel3_3, 1, 0, 1, 1)
        self.editorLexerCombo = QtGui.QComboBox(LexerAssociationDialog)
        self.editorLexerCombo.setObjectName("editorLexerCombo")
        self.gridLayout.addWidget(self.editorLexerCombo, 1, 1, 1, 1)
        self.deleteLexerButton = QtGui.QPushButton(LexerAssociationDialog)
        self.deleteLexerButton.setObjectName("deleteLexerButton")
        self.gridLayout.addWidget(self.deleteLexerButton, 1, 2, 1, 1)
        self.pygmentsLabel = QtGui.QLabel(LexerAssociationDialog)
        self.pygmentsLabel.setObjectName("pygmentsLabel")
        self.gridLayout.addWidget(self.pygmentsLabel, 2, 0, 1, 1)
        self.pygmentsLexerCombo = QtGui.QComboBox(LexerAssociationDialog)
        self.pygmentsLexerCombo.setObjectName("pygmentsLexerCombo")
        self.gridLayout.addWidget(self.pygmentsLexerCombo, 2, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.buttonBox = QtGui.QDialogButtonBox(LexerAssociationDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)
        self.textLabel2_6.setBuddy(self.editorFileExtEdit)
        self.textLabel3_3.setBuddy(self.editorLexerCombo)
        self.pygmentsLabel.setBuddy(self.pygmentsLexerCombo)

        self.retranslateUi(LexerAssociationDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), LexerAssociationDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), LexerAssociationDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(LexerAssociationDialog)
        LexerAssociationDialog.setTabOrder(self.editorLexerList, self.editorFileExtEdit)
        LexerAssociationDialog.setTabOrder(self.editorFileExtEdit, self.editorLexerCombo)
        LexerAssociationDialog.setTabOrder(self.editorLexerCombo, self.pygmentsLexerCombo)
        LexerAssociationDialog.setTabOrder(self.pygmentsLexerCombo, self.addLexerButton)
        LexerAssociationDialog.setTabOrder(self.addLexerButton, self.deleteLexerButton)
        LexerAssociationDialog.setTabOrder(self.deleteLexerButton, self.buttonBox)

    def retranslateUi(self, LexerAssociationDialog):
        LexerAssociationDialog.setWindowTitle(QtGui.QApplication.translate("LexerAssociationDialog", "Project Lexer Associations", None, QtGui.QApplication.UnicodeUTF8))
        self.editorLexerList.setSortingEnabled(True)
        self.editorLexerList.headerItem().setText(0, QtGui.QApplication.translate("LexerAssociationDialog", "Filename Pattern", None, QtGui.QApplication.UnicodeUTF8))
        self.editorLexerList.headerItem().setText(1, QtGui.QApplication.translate("LexerAssociationDialog", "Lexer Language", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_6.setText(QtGui.QApplication.translate("LexerAssociationDialog", "Filename &Pattern:", None, QtGui.QApplication.UnicodeUTF8))
        self.editorFileExtEdit.setToolTip(QtGui.QApplication.translate("LexerAssociationDialog", "Enter the filename pattern to be associated", None, QtGui.QApplication.UnicodeUTF8))
        self.addLexerButton.setToolTip(QtGui.QApplication.translate("LexerAssociationDialog", "Press to add or change the entered association", None, QtGui.QApplication.UnicodeUTF8))
        self.addLexerButton.setText(QtGui.QApplication.translate("LexerAssociationDialog", "Add/&Change", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3_3.setText(QtGui.QApplication.translate("LexerAssociationDialog", "&Lexer Language:", None, QtGui.QApplication.UnicodeUTF8))
        self.editorLexerCombo.setToolTip(QtGui.QApplication.translate("LexerAssociationDialog", "Select the lexer language to associate", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteLexerButton.setToolTip(QtGui.QApplication.translate("LexerAssociationDialog", "Press to delete the selected association", None, QtGui.QApplication.UnicodeUTF8))
        self.deleteLexerButton.setText(QtGui.QApplication.translate("LexerAssociationDialog", "&Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.pygmentsLabel.setText(QtGui.QApplication.translate("LexerAssociationDialog", "Alternative Le&xer:", None, QtGui.QApplication.UnicodeUTF8))
        self.pygmentsLexerCombo.setToolTip(QtGui.QApplication.translate("LexerAssociationDialog", "Select the alternative lexer to associate", None, QtGui.QApplication.UnicodeUTF8))

