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

# Form implementation generated from reading ui file 'eric/Plugins/CheckerPlugins/Pep8/Pep8Dialog.ui'
#
# Created: Wed Aug 21 08:54:42 2013
#      by: PyQt4 UI code generator 4.10.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_Pep8Dialog(object):
    def setupUi(self, Pep8Dialog):
        Pep8Dialog.setObjectName(_fromUtf8("Pep8Dialog"))
        Pep8Dialog.resize(650, 700)
        Pep8Dialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(Pep8Dialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.filterFrame = QtGui.QFrame(Pep8Dialog)
        self.filterFrame.setFrameShape(QtGui.QFrame.NoFrame)
        self.filterFrame.setObjectName(_fromUtf8("filterFrame"))
        self.gridLayout = QtGui.QGridLayout(self.filterFrame)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.excludeMessagesSelectButton = QtGui.QToolButton(self.filterFrame)
        self.excludeMessagesSelectButton.setObjectName(_fromUtf8("excludeMessagesSelectButton"))
        self.gridLayout.addWidget(self.excludeMessagesSelectButton, 1, 2, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.repeatCheckBox = QtGui.QCheckBox(self.filterFrame)
        self.repeatCheckBox.setObjectName(_fromUtf8("repeatCheckBox"))
        self.horizontalLayout.addWidget(self.repeatCheckBox)
        self.fixIssuesCheckBox = QtGui.QCheckBox(self.filterFrame)
        self.fixIssuesCheckBox.setEnabled(False)
        self.fixIssuesCheckBox.setObjectName(_fromUtf8("fixIssuesCheckBox"))
        self.horizontalLayout.addWidget(self.fixIssuesCheckBox)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.gridLayout.addLayout(self.horizontalLayout, 4, 0, 1, 3)
        self.label = QtGui.QLabel(self.filterFrame)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.label_4 = QtGui.QLabel(self.filterFrame)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
        self.fixIssuesEdit = E5ClearableLineEdit(self.filterFrame)
        self.fixIssuesEdit.setObjectName(_fromUtf8("fixIssuesEdit"))
        self.gridLayout.addWidget(self.fixIssuesEdit, 3, 1, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.startButton = QtGui.QPushButton(self.filterFrame)
        self.startButton.setObjectName(_fromUtf8("startButton"))
        self.verticalLayout_2.addWidget(self.startButton)
        spacerItem1 = QtGui.QSpacerItem(20, 18, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem1)
        self.loadDefaultButton = QtGui.QPushButton(self.filterFrame)
        self.loadDefaultButton.setObjectName(_fromUtf8("loadDefaultButton"))
        self.verticalLayout_2.addWidget(self.loadDefaultButton)
        self.storeDefaultButton = QtGui.QPushButton(self.filterFrame)
        self.storeDefaultButton.setObjectName(_fromUtf8("storeDefaultButton"))
        self.verticalLayout_2.addWidget(self.storeDefaultButton)
        self.gridLayout.addLayout(self.verticalLayout_2, 0, 4, 5, 1)
        self.includeMessagesEdit = E5ClearableLineEdit(self.filterFrame)
        self.includeMessagesEdit.setObjectName(_fromUtf8("includeMessagesEdit"))
        self.gridLayout.addWidget(self.includeMessagesEdit, 2, 1, 1, 1)
        self.excludeMessagesEdit = E5ClearableLineEdit(self.filterFrame)
        self.excludeMessagesEdit.setObjectName(_fromUtf8("excludeMessagesEdit"))
        self.gridLayout.addWidget(self.excludeMessagesEdit, 1, 1, 1, 1)
        self.label_2 = QtGui.QLabel(self.filterFrame)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.excludeFilesEdit = E5ClearableLineEdit(self.filterFrame)
        self.excludeFilesEdit.setObjectName(_fromUtf8("excludeFilesEdit"))
        self.gridLayout.addWidget(self.excludeFilesEdit, 0, 1, 1, 1)
        self.line = QtGui.QFrame(self.filterFrame)
        self.line.setLineWidth(2)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout.addWidget(self.line, 0, 3, 5, 1)
        self.includeMessagesSelectButton = QtGui.QToolButton(self.filterFrame)
        self.includeMessagesSelectButton.setObjectName(_fromUtf8("includeMessagesSelectButton"))
        self.gridLayout.addWidget(self.includeMessagesSelectButton, 2, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.filterFrame)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.gridLayout.addWidget(self.label_3, 2, 0, 1, 1)
        self.fixIssuesSelectButton = QtGui.QToolButton(self.filterFrame)
        self.fixIssuesSelectButton.setObjectName(_fromUtf8("fixIssuesSelectButton"))
        self.gridLayout.addWidget(self.fixIssuesSelectButton, 3, 2, 1, 1)
        self.verticalLayout.addWidget(self.filterFrame)
        self.resultList = QtGui.QTreeWidget(Pep8Dialog)
        self.resultList.setAlternatingRowColors(True)
        self.resultList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.resultList.setObjectName(_fromUtf8("resultList"))
        self.verticalLayout.addWidget(self.resultList)
        self.checkProgress = QtGui.QProgressBar(Pep8Dialog)
        self.checkProgress.setProperty("value", 0)
        self.checkProgress.setOrientation(QtCore.Qt.Horizontal)
        self.checkProgress.setObjectName(_fromUtf8("checkProgress"))
        self.verticalLayout.addWidget(self.checkProgress)
        self.buttonBox = QtGui.QDialogButtonBox(Pep8Dialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(Pep8Dialog)
        QtCore.QObject.connect(self.repeatCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.fixIssuesCheckBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Pep8Dialog)
        Pep8Dialog.setTabOrder(self.startButton, self.loadDefaultButton)
        Pep8Dialog.setTabOrder(self.loadDefaultButton, self.excludeFilesEdit)
        Pep8Dialog.setTabOrder(self.excludeFilesEdit, self.excludeMessagesEdit)
        Pep8Dialog.setTabOrder(self.excludeMessagesEdit, self.excludeMessagesSelectButton)
        Pep8Dialog.setTabOrder(self.excludeMessagesSelectButton, self.includeMessagesEdit)
        Pep8Dialog.setTabOrder(self.includeMessagesEdit, self.includeMessagesSelectButton)
        Pep8Dialog.setTabOrder(self.includeMessagesSelectButton, self.fixIssuesEdit)
        Pep8Dialog.setTabOrder(self.fixIssuesEdit, self.fixIssuesSelectButton)
        Pep8Dialog.setTabOrder(self.fixIssuesSelectButton, self.repeatCheckBox)
        Pep8Dialog.setTabOrder(self.repeatCheckBox, self.fixIssuesCheckBox)
        Pep8Dialog.setTabOrder(self.fixIssuesCheckBox, self.storeDefaultButton)
        Pep8Dialog.setTabOrder(self.storeDefaultButton, self.resultList)
        Pep8Dialog.setTabOrder(self.resultList, self.buttonBox)

    def retranslateUi(self, Pep8Dialog):
        Pep8Dialog.setWindowTitle(_translate("Pep8Dialog", "PEP 8 Check Result", None))
        Pep8Dialog.setWhatsThis(_translate("Pep8Dialog", "<b>PEP 8 Check Results</b>\n"
"<p>This dialog shows the results of the PEP 8 check. Double clicking an\n"
"entry will open an editor window and position the cursor at the respective line and position.</p>", None))
        self.excludeMessagesSelectButton.setToolTip(_translate("Pep8Dialog", "Press to select the message codes from a list", None))
        self.excludeMessagesSelectButton.setText(_translate("Pep8Dialog", "...", None))
        self.repeatCheckBox.setToolTip(_translate("Pep8Dialog", "Select to repeat each message type", None))
        self.repeatCheckBox.setText(_translate("Pep8Dialog", "Repeat messages", None))
        self.fixIssuesCheckBox.setToolTip(_translate("Pep8Dialog", "Select to fix some issues", None))
        self.fixIssuesCheckBox.setText(_translate("Pep8Dialog", "Fix issues automatically", None))
        self.label.setText(_translate("Pep8Dialog", "Exclude Messages:", None))
        self.label_4.setText(_translate("Pep8Dialog", "Fix Issues:", None))
        self.fixIssuesEdit.setToolTip(_translate("Pep8Dialog", "Enter message codes of issues to be fixed automatically (leave empty to fix all)", None))
        self.startButton.setToolTip(_translate("Pep8Dialog", "Press to start the PEP 8 check run", None))
        self.startButton.setText(_translate("Pep8Dialog", "Start", None))
        self.loadDefaultButton.setToolTip(_translate("Pep8Dialog", "Press to load the default values", None))
        self.loadDefaultButton.setText(_translate("Pep8Dialog", "Load Defaults", None))
        self.storeDefaultButton.setToolTip(_translate("Pep8Dialog", "Press to store the current values as defaults", None))
        self.storeDefaultButton.setText(_translate("Pep8Dialog", "Store Defaults", None))
        self.includeMessagesEdit.setToolTip(_translate("Pep8Dialog", "Enter message codes or categories to be included separated by a comma", None))
        self.excludeMessagesEdit.setToolTip(_translate("Pep8Dialog", "Enter message codes or categories to be excluded separated by a comma", None))
        self.label_2.setText(_translate("Pep8Dialog", "Exclude Files:", None))
        self.excludeFilesEdit.setToolTip(_translate("Pep8Dialog", "Enter filename patterns of files to be excluded separated by a comma", None))
        self.includeMessagesSelectButton.setToolTip(_translate("Pep8Dialog", "Press to select the message codes from a list", None))
        self.includeMessagesSelectButton.setText(_translate("Pep8Dialog", "...", None))
        self.label_3.setText(_translate("Pep8Dialog", "Included Messages:", None))
        self.fixIssuesSelectButton.setToolTip(_translate("Pep8Dialog", "Press to select the message codes from a list", None))
        self.fixIssuesSelectButton.setText(_translate("Pep8Dialog", "...", None))
        self.resultList.setWhatsThis(_translate("Pep8Dialog", "<b>Result List</b>\n"
"<p>This list shows the results of the PEP 8 check. Double clicking\n"
"an entry will open this entry in an editor window and position the cursor at\n"
"the respective line and position.</p>", None))
        self.resultList.setSortingEnabled(True)
        self.resultList.headerItem().setText(0, _translate("Pep8Dialog", "File/Line", None))
        self.resultList.headerItem().setText(1, _translate("Pep8Dialog", "Code", None))
        self.resultList.headerItem().setText(2, _translate("Pep8Dialog", "Message", None))
        self.checkProgress.setToolTip(_translate("Pep8Dialog", "Shows the progress of the PEP 8 check action", None))

from E5Gui.E5LineEdit import E5ClearableLineEdit
