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

# Form implementation generated from reading ui file 'eric/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleCheckerDialog.ui'
#
# Created: Tue Oct 28 07:22:43 2014
#      by: PyQt4 UI code generator 4.11.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_CodeStyleCheckerDialog(object):
    def setupUi(self, CodeStyleCheckerDialog):
        CodeStyleCheckerDialog.setObjectName(_fromUtf8("CodeStyleCheckerDialog"))
        CodeStyleCheckerDialog.resize(650, 700)
        CodeStyleCheckerDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(CodeStyleCheckerDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.filterFrame = QtGui.QFrame(CodeStyleCheckerDialog)
        self.filterFrame.setFrameShape(QtGui.QFrame.NoFrame)
        self.filterFrame.setObjectName(_fromUtf8("filterFrame"))
        self.gridLayout = QtGui.QGridLayout(self.filterFrame)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        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, 9, 1)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.startButton = QtGui.QPushButton(self.filterFrame)
        self.startButton.setObjectName(_fromUtf8("startButton"))
        self.verticalLayout.addWidget(self.startButton)
        self.fixButton = QtGui.QPushButton(self.filterFrame)
        self.fixButton.setObjectName(_fromUtf8("fixButton"))
        self.verticalLayout.addWidget(self.fixButton)
        spacerItem = QtGui.QSpacerItem(20, 18, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.loadDefaultButton = QtGui.QPushButton(self.filterFrame)
        self.loadDefaultButton.setObjectName(_fromUtf8("loadDefaultButton"))
        self.verticalLayout.addWidget(self.loadDefaultButton)
        self.storeDefaultButton = QtGui.QPushButton(self.filterFrame)
        self.storeDefaultButton.setObjectName(_fromUtf8("storeDefaultButton"))
        self.verticalLayout.addWidget(self.storeDefaultButton)
        self.resetDefaultButton = QtGui.QPushButton(self.filterFrame)
        self.resetDefaultButton.setObjectName(_fromUtf8("resetDefaultButton"))
        self.verticalLayout.addWidget(self.resetDefaultButton)
        self.gridLayout.addLayout(self.verticalLayout, 0, 4, 9, 1)
        self.label = QtGui.QLabel(self.filterFrame)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
        self.excludeMessagesEdit = E5ClearableLineEdit(self.filterFrame)
        self.excludeMessagesEdit.setObjectName(_fromUtf8("excludeMessagesEdit"))
        self.gridLayout.addWidget(self.excludeMessagesEdit, 1, 1, 1, 1)
        self.excludeMessagesSelectButton = QtGui.QToolButton(self.filterFrame)
        self.excludeMessagesSelectButton.setObjectName(_fromUtf8("excludeMessagesSelectButton"))
        self.gridLayout.addWidget(self.excludeMessagesSelectButton, 1, 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.includeMessagesEdit = E5ClearableLineEdit(self.filterFrame)
        self.includeMessagesEdit.setObjectName(_fromUtf8("includeMessagesEdit"))
        self.gridLayout.addWidget(self.includeMessagesEdit, 2, 1, 1, 1)
        self.includeMessagesSelectButton = QtGui.QToolButton(self.filterFrame)
        self.includeMessagesSelectButton.setObjectName(_fromUtf8("includeMessagesSelectButton"))
        self.gridLayout.addWidget(self.includeMessagesSelectButton, 2, 2, 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.fixIssuesSelectButton = QtGui.QToolButton(self.filterFrame)
        self.fixIssuesSelectButton.setObjectName(_fromUtf8("fixIssuesSelectButton"))
        self.gridLayout.addWidget(self.fixIssuesSelectButton, 3, 2, 1, 1)
        self.label_6 = QtGui.QLabel(self.filterFrame)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.gridLayout.addWidget(self.label_6, 4, 0, 1, 1)
        self.noFixIssuesEdit = E5ClearableLineEdit(self.filterFrame)
        self.noFixIssuesEdit.setObjectName(_fromUtf8("noFixIssuesEdit"))
        self.gridLayout.addWidget(self.noFixIssuesEdit, 4, 1, 1, 1)
        self.noFixIssuesSelectButton = QtGui.QToolButton(self.filterFrame)
        self.noFixIssuesSelectButton.setObjectName(_fromUtf8("noFixIssuesSelectButton"))
        self.gridLayout.addWidget(self.noFixIssuesSelectButton, 4, 2, 1, 1)
        self.label_5 = QtGui.QLabel(self.filterFrame)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.gridLayout.addWidget(self.label_5, 5, 0, 1, 1)
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.lineLengthSpinBox = QtGui.QSpinBox(self.filterFrame)
        self.lineLengthSpinBox.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.lineLengthSpinBox.setMinimum(60)
        self.lineLengthSpinBox.setMaximum(119)
        self.lineLengthSpinBox.setProperty("value", 79)
        self.lineLengthSpinBox.setObjectName(_fromUtf8("lineLengthSpinBox"))
        self.horizontalLayout_3.addWidget(self.lineLengthSpinBox)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.gridLayout.addLayout(self.horizontalLayout_3, 5, 1, 1, 2)
        self.label_7 = QtGui.QLabel(self.filterFrame)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.gridLayout.addWidget(self.label_7, 6, 0, 1, 1)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.docTypeComboBox = QtGui.QComboBox(self.filterFrame)
        self.docTypeComboBox.setObjectName(_fromUtf8("docTypeComboBox"))
        self.horizontalLayout_4.addWidget(self.docTypeComboBox)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem2)
        self.gridLayout.addLayout(self.horizontalLayout_4, 6, 1, 1, 2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.hangClosingCheckBox = QtGui.QCheckBox(self.filterFrame)
        self.hangClosingCheckBox.setObjectName(_fromUtf8("hangClosingCheckBox"))
        self.horizontalLayout_2.addWidget(self.hangClosingCheckBox)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.gridLayout.addLayout(self.horizontalLayout_2, 7, 0, 1, 3)
        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)
        self.ignoredCheckBox = QtGui.QCheckBox(self.filterFrame)
        self.ignoredCheckBox.setEnabled(False)
        self.ignoredCheckBox.setObjectName(_fromUtf8("ignoredCheckBox"))
        self.horizontalLayout.addWidget(self.ignoredCheckBox)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem4)
        self.gridLayout.addLayout(self.horizontalLayout, 8, 0, 1, 3)
        self.verticalLayout_2.addWidget(self.filterFrame)
        self.resultList = QtGui.QTreeWidget(CodeStyleCheckerDialog)
        self.resultList.setAlternatingRowColors(True)
        self.resultList.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.resultList.setObjectName(_fromUtf8("resultList"))
        self.verticalLayout_2.addWidget(self.resultList)
        self.checkProgressLabel = E5SqueezeLabelPath(CodeStyleCheckerDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.checkProgressLabel.sizePolicy().hasHeightForWidth())
        self.checkProgressLabel.setSizePolicy(sizePolicy)
        self.checkProgressLabel.setText(_fromUtf8(""))
        self.checkProgressLabel.setObjectName(_fromUtf8("checkProgressLabel"))
        self.verticalLayout_2.addWidget(self.checkProgressLabel)
        self.checkProgress = QtGui.QProgressBar(CodeStyleCheckerDialog)
        self.checkProgress.setProperty("value", 0)
        self.checkProgress.setOrientation(QtCore.Qt.Horizontal)
        self.checkProgress.setObjectName(_fromUtf8("checkProgress"))
        self.verticalLayout_2.addWidget(self.checkProgress)
        self.buttonBox = QtGui.QDialogButtonBox(CodeStyleCheckerDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(CodeStyleCheckerDialog)
        QtCore.QObject.connect(self.repeatCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.fixIssuesCheckBox.setEnabled)
        QtCore.QObject.connect(self.repeatCheckBox, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.ignoredCheckBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(CodeStyleCheckerDialog)
        CodeStyleCheckerDialog.setTabOrder(self.startButton, self.loadDefaultButton)
        CodeStyleCheckerDialog.setTabOrder(self.loadDefaultButton, self.excludeFilesEdit)
        CodeStyleCheckerDialog.setTabOrder(self.excludeFilesEdit, self.excludeMessagesEdit)
        CodeStyleCheckerDialog.setTabOrder(self.excludeMessagesEdit, self.excludeMessagesSelectButton)
        CodeStyleCheckerDialog.setTabOrder(self.excludeMessagesSelectButton, self.includeMessagesEdit)
        CodeStyleCheckerDialog.setTabOrder(self.includeMessagesEdit, self.includeMessagesSelectButton)
        CodeStyleCheckerDialog.setTabOrder(self.includeMessagesSelectButton, self.fixIssuesEdit)
        CodeStyleCheckerDialog.setTabOrder(self.fixIssuesEdit, self.fixIssuesSelectButton)
        CodeStyleCheckerDialog.setTabOrder(self.fixIssuesSelectButton, self.noFixIssuesEdit)
        CodeStyleCheckerDialog.setTabOrder(self.noFixIssuesEdit, self.noFixIssuesSelectButton)
        CodeStyleCheckerDialog.setTabOrder(self.noFixIssuesSelectButton, self.lineLengthSpinBox)
        CodeStyleCheckerDialog.setTabOrder(self.lineLengthSpinBox, self.docTypeComboBox)
        CodeStyleCheckerDialog.setTabOrder(self.docTypeComboBox, self.hangClosingCheckBox)
        CodeStyleCheckerDialog.setTabOrder(self.hangClosingCheckBox, self.repeatCheckBox)
        CodeStyleCheckerDialog.setTabOrder(self.repeatCheckBox, self.fixIssuesCheckBox)
        CodeStyleCheckerDialog.setTabOrder(self.fixIssuesCheckBox, self.ignoredCheckBox)
        CodeStyleCheckerDialog.setTabOrder(self.ignoredCheckBox, self.resultList)
        CodeStyleCheckerDialog.setTabOrder(self.resultList, self.fixButton)
        CodeStyleCheckerDialog.setTabOrder(self.fixButton, self.storeDefaultButton)
        CodeStyleCheckerDialog.setTabOrder(self.storeDefaultButton, self.resetDefaultButton)
        CodeStyleCheckerDialog.setTabOrder(self.resetDefaultButton, self.buttonBox)

    def retranslateUi(self, CodeStyleCheckerDialog):
        CodeStyleCheckerDialog.setWindowTitle(_translate("CodeStyleCheckerDialog", "Code Style Check Result", None))
        CodeStyleCheckerDialog.setWhatsThis(_translate("CodeStyleCheckerDialog", "<b>Code Style Check Results</b>\n"
"<p>This dialog shows the results of the code style check. Double clicking an\n"
"entry will open an editor window and position the cursor at the respective line and position.</p>", None))
        self.label_2.setText(_translate("CodeStyleCheckerDialog", "Exclude Files:", None))
        self.excludeFilesEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter filename patterns of files to be excluded separated by a comma", None))
        self.startButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to start the code style check run", None))
        self.startButton.setText(_translate("CodeStyleCheckerDialog", "Start", None))
        self.fixButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to fix the selected issues", None))
        self.fixButton.setText(_translate("CodeStyleCheckerDialog", "Fix Selected", None))
        self.loadDefaultButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to load the default values", None))
        self.loadDefaultButton.setText(_translate("CodeStyleCheckerDialog", "Load Defaults", None))
        self.storeDefaultButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to store the current values as defaults", None))
        self.storeDefaultButton.setText(_translate("CodeStyleCheckerDialog", "Store Defaults", None))
        self.resetDefaultButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to reset the default values", None))
        self.resetDefaultButton.setText(_translate("CodeStyleCheckerDialog", "Reset Defaults", None))
        self.label.setText(_translate("CodeStyleCheckerDialog", "Exclude Messages:", None))
        self.excludeMessagesEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter message codes or categories to be excluded separated by a comma", None))
        self.excludeMessagesSelectButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to select the message codes from a list", None))
        self.label_3.setText(_translate("CodeStyleCheckerDialog", "Included Messages:", None))
        self.includeMessagesEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter message codes or categories to be included separated by a comma", None))
        self.includeMessagesSelectButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to select the message codes from a list", None))
        self.label_4.setText(_translate("CodeStyleCheckerDialog", "Fix Issues:", None))
        self.fixIssuesEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter message codes of issues to be fixed automatically (leave empty to fix all)", None))
        self.fixIssuesSelectButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to select the message codes from a list", None))
        self.label_6.setText(_translate("CodeStyleCheckerDialog", "Don\'t Fix Issues:", None))
        self.noFixIssuesEdit.setToolTip(_translate("CodeStyleCheckerDialog", "Enter message codes of issues not to be fixed automatically", None))
        self.noFixIssuesSelectButton.setToolTip(_translate("CodeStyleCheckerDialog", "Press to select the message codes from a list", None))
        self.label_5.setText(_translate("CodeStyleCheckerDialog", "Max. Line Length:", None))
        self.lineLengthSpinBox.setStatusTip(_translate("CodeStyleCheckerDialog", "Enter the maximum allowed line length (PEP-8: 79 characters)", None))
        self.label_7.setText(_translate("CodeStyleCheckerDialog", "Docstring Type:", None))
        self.docTypeComboBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select the rule set for docstrings", None))
        self.hangClosingCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to allow hanging closing brackets", None))
        self.hangClosingCheckBox.setText(_translate("CodeStyleCheckerDialog", "Allow hanging closing brackets", None))
        self.repeatCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to repeat each message type", None))
        self.repeatCheckBox.setText(_translate("CodeStyleCheckerDialog", "Repeat messages", None))
        self.fixIssuesCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to fix some issues", None))
        self.fixIssuesCheckBox.setText(_translate("CodeStyleCheckerDialog", "Fix issues automatically", None))
        self.ignoredCheckBox.setToolTip(_translate("CodeStyleCheckerDialog", "Select to show ignored issues", None))
        self.ignoredCheckBox.setText(_translate("CodeStyleCheckerDialog", "Show ignored", None))
        self.resultList.setWhatsThis(_translate("CodeStyleCheckerDialog", "<b>Result List</b>\n"
"<p>This list shows the results of the code style 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("CodeStyleCheckerDialog", "File/Line", None))
        self.resultList.headerItem().setText(1, _translate("CodeStyleCheckerDialog", "Code", None))
        self.resultList.headerItem().setText(2, _translate("CodeStyleCheckerDialog", "Message", None))
        self.checkProgress.setToolTip(_translate("CodeStyleCheckerDialog", "Shows the progress of the code style check", None))
        self.checkProgress.setFormat(_translate("CodeStyleCheckerDialog", "%v/%m Files", None))

from E5Gui.E5LineEdit import E5ClearableLineEdit
from E5Gui.E5SqueezeLabels import E5SqueezeLabelPath
