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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Preferences/ConfigurationPages/EditorHighlightingStylesPage.ui'
#
# Created: Sat Feb  3 15:33:48 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_EditorHighlightingStylesPage(object):
    def setupUi(self, EditorHighlightingStylesPage):
        EditorHighlightingStylesPage.setObjectName("EditorHighlightingStylesPage")
        EditorHighlightingStylesPage.resize(QtCore.QSize(QtCore.QRect(0,0,431,351).size()).expandedTo(EditorHighlightingStylesPage.minimumSizeHint()))

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

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

        self.line1 = QtGui.QFrame(EditorHighlightingStylesPage)
        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(EditorHighlightingStylesPage)
        self.TextLabel1_3.setObjectName("TextLabel1_3")
        self.hboxlayout.addWidget(self.TextLabel1_3)

        self.lexerLanguageComboBox = QtGui.QComboBox(EditorHighlightingStylesPage)

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

        self.styleGroup = QtGui.QGroupBox(EditorHighlightingStylesPage)
        self.styleGroup.setObjectName("styleGroup")

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

        self.eolfillCheckBox = QtGui.QCheckBox(self.styleGroup)
        self.eolfillCheckBox.setObjectName("eolfillCheckBox")
        self.gridlayout.addWidget(self.eolfillCheckBox,3,1,1,1)

        self.allFontsButton = QtGui.QPushButton(self.styleGroup)
        self.allFontsButton.setObjectName("allFontsButton")
        self.gridlayout.addWidget(self.allFontsButton,6,1,1,1)

        self.allBackgroundColoursButton = QtGui.QPushButton(self.styleGroup)
        self.allBackgroundColoursButton.setObjectName("allBackgroundColoursButton")
        self.gridlayout.addWidget(self.allBackgroundColoursButton,5,1,1,1)

        spacerItem = QtGui.QSpacerItem(20,40,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem,4,1,1,1)

        self.styleElementList = QtGui.QListWidget(self.styleGroup)
        self.styleElementList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.styleElementList.setObjectName("styleElementList")
        self.gridlayout.addWidget(self.styleElementList,0,0,7,1)

        self.sampleText = QtGui.QLineEdit(self.styleGroup)
        self.sampleText.setFocusPolicy(QtCore.Qt.NoFocus)
        self.sampleText.setAlignment(QtCore.Qt.AlignHCenter)
        self.sampleText.setReadOnly(True)
        self.sampleText.setObjectName("sampleText")
        self.gridlayout.addWidget(self.sampleText,7,0,1,2)

        self.backgroundButton = QtGui.QPushButton(self.styleGroup)
        self.backgroundButton.setObjectName("backgroundButton")
        self.gridlayout.addWidget(self.backgroundButton,1,1,1,1)

        self.fontButton = QtGui.QPushButton(self.styleGroup)
        self.fontButton.setObjectName("fontButton")
        self.gridlayout.addWidget(self.fontButton,2,1,1,1)

        self.foregroundButton = QtGui.QPushButton(self.styleGroup)
        self.foregroundButton.setObjectName("foregroundButton")
        self.gridlayout.addWidget(self.foregroundButton,0,1,1,1)
        self.vboxlayout.addWidget(self.styleGroup)

        self.retranslateUi(EditorHighlightingStylesPage)
        QtCore.QMetaObject.connectSlotsByName(EditorHighlightingStylesPage)
        EditorHighlightingStylesPage.setTabOrder(self.lexerLanguageComboBox,self.styleElementList)
        EditorHighlightingStylesPage.setTabOrder(self.styleElementList,self.foregroundButton)
        EditorHighlightingStylesPage.setTabOrder(self.foregroundButton,self.backgroundButton)
        EditorHighlightingStylesPage.setTabOrder(self.backgroundButton,self.fontButton)
        EditorHighlightingStylesPage.setTabOrder(self.fontButton,self.eolfillCheckBox)
        EditorHighlightingStylesPage.setTabOrder(self.eolfillCheckBox,self.allBackgroundColoursButton)
        EditorHighlightingStylesPage.setTabOrder(self.allBackgroundColoursButton,self.allFontsButton)

    def retranslateUi(self, EditorHighlightingStylesPage):
        self.headerLabel.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "<b>Configure syntax highlighting</b>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_3.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Lexer Language:", None, QtGui.QApplication.UnicodeUTF8))
        self.lexerLanguageComboBox.setToolTip(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Select the lexer language to be configured.", None, QtGui.QApplication.UnicodeUTF8))
        self.styleGroup.setTitle(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Style Element", None, QtGui.QApplication.UnicodeUTF8))
        self.eolfillCheckBox.setToolTip(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Select end of line fill.", None, QtGui.QApplication.UnicodeUTF8))
        self.eolfillCheckBox.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Fill to end of line", None, QtGui.QApplication.UnicodeUTF8))
        self.allFontsButton.setToolTip(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Select the font for all styles.", None, QtGui.QApplication.UnicodeUTF8))
        self.allFontsButton.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "All Fonts", None, QtGui.QApplication.UnicodeUTF8))
        self.allBackgroundColoursButton.setToolTip(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Select the background colour for all styles", None, QtGui.QApplication.UnicodeUTF8))
        self.allBackgroundColoursButton.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "All Background Colours", None, QtGui.QApplication.UnicodeUTF8))
        self.sampleText.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Sample Text", None, QtGui.QApplication.UnicodeUTF8))
        self.backgroundButton.setToolTip(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Select the background colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.backgroundButton.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Background Colour", None, QtGui.QApplication.UnicodeUTF8))
        self.fontButton.setToolTip(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Select the font.", None, QtGui.QApplication.UnicodeUTF8))
        self.fontButton.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Font", None, QtGui.QApplication.UnicodeUTF8))
        self.foregroundButton.setToolTip(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Select the foreground colour.", None, QtGui.QApplication.UnicodeUTF8))
        self.foregroundButton.setText(QtGui.QApplication.translate("EditorHighlightingStylesPage", "Foreground Colour", None, QtGui.QApplication.UnicodeUTF8))



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