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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/EditorHighlightersPage.ui'
#
# Created: Sat Feb  3 15:33:47 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_EditorHighlightersPage(object):
    def setupUi(self, EditorHighlightersPage):
        EditorHighlightersPage.setObjectName("EditorHighlightersPage")
        EditorHighlightersPage.resize(QtCore.QSize(QtCore.QRect(0,0,400,300).size()).expandedTo(EditorHighlightersPage.minimumSizeHint()))

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

        self.headerLabel = QtGui.QLabel(EditorHighlightersPage)
        self.headerLabel.setObjectName("headerLabel")
        self.vboxlayout.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("line19")
        self.vboxlayout.addWidget(self.line19)

        self.editorLexerList = QtGui.QTreeWidget(EditorHighlightersPage)
        self.editorLexerList.setAlternatingRowColors(True)
        self.editorLexerList.setRootIsDecorated(False)
        self.editorLexerList.setSortingEnabled(True)
        self.editorLexerList.setObjectName("editorLexerList")
        self.editorLexerList.headerItem().setText(2,"")
        self.vboxlayout.addWidget(self.editorLexerList)

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

        self.deleteLexerButton = QtGui.QPushButton(EditorHighlightersPage)
        self.deleteLexerButton.setObjectName("deleteLexerButton")
        self.gridlayout.addWidget(self.deleteLexerButton,1,2,1,1)

        self.editorLexerCombo = QtGui.QComboBox(EditorHighlightersPage)
        self.editorLexerCombo.setObjectName("editorLexerCombo")
        self.gridlayout.addWidget(self.editorLexerCombo,1,1,1,1)

        self.textLabel3_3 = QtGui.QLabel(EditorHighlightersPage)
        self.textLabel3_3.setObjectName("textLabel3_3")
        self.gridlayout.addWidget(self.textLabel3_3,1,0,1,1)

        self.editorFileExtEdit = QtGui.QLineEdit(EditorHighlightersPage)
        self.editorFileExtEdit.setObjectName("editorFileExtEdit")
        self.gridlayout.addWidget(self.editorFileExtEdit,0,1,1,1)

        self.textLabel2_6 = QtGui.QLabel(EditorHighlightersPage)
        self.textLabel2_6.setObjectName("textLabel2_6")
        self.gridlayout.addWidget(self.textLabel2_6,0,0,1,1)

        self.addLexerButton = QtGui.QPushButton(EditorHighlightersPage)
        self.addLexerButton.setObjectName("addLexerButton")
        self.gridlayout.addWidget(self.addLexerButton,0,2,1,1)
        self.vboxlayout.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.addLexerButton)
        EditorHighlightersPage.setTabOrder(self.addLexerButton,self.deleteLexerButton)

    def retranslateUi(self, EditorHighlightersPage):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorHighlightersPage", "<b>Configure syntax highlighters</b>", None, QtGui.QApplication.UnicodeUTF8))
        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.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.editorLexerCombo.setToolTip(QtGui.QApplication.translate("EditorHighlightersPage", "Select the lexer language to associate", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel3_3.setText(QtGui.QApplication.translate("EditorHighlightersPage", "Lexer Lanaguage:", None, QtGui.QApplication.UnicodeUTF8))
        self.editorFileExtEdit.setToolTip(QtGui.QApplication.translate("EditorHighlightersPage", "Enter the filename pattern to be associated", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2_6.setText(QtGui.QApplication.translate("EditorHighlightersPage", "Filename Pattern:", None, QtGui.QApplication.UnicodeUTF8))
        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))



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