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

# Form implementation generated from reading ui file 'eric/Plugins/CheckerPlugins/Tabnanny/TabnannyDialog.ui'
#
# Created: Sun Jan 18 22:19:51 2015
#      by: PyQt4 UI code generator 4.11.3
#
# 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_TabnannyDialog(object):
    def setupUi(self, TabnannyDialog):
        TabnannyDialog.setObjectName(_fromUtf8("TabnannyDialog"))
        TabnannyDialog.resize(650, 400)
        TabnannyDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(TabnannyDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.filterFrame = QtGui.QFrame(TabnannyDialog)
        self.filterFrame.setFrameShape(QtGui.QFrame.NoFrame)
        self.filterFrame.setFrameShadow(QtGui.QFrame.Raised)
        self.filterFrame.setObjectName(_fromUtf8("filterFrame"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.filterFrame)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_2 = QtGui.QLabel(self.filterFrame)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout.addWidget(self.label_2)
        self.excludeFilesEdit = E5ClearableLineEdit(self.filterFrame)
        self.excludeFilesEdit.setObjectName(_fromUtf8("excludeFilesEdit"))
        self.horizontalLayout.addWidget(self.excludeFilesEdit)
        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.horizontalLayout.addWidget(self.line)
        self.startButton = QtGui.QPushButton(self.filterFrame)
        self.startButton.setObjectName(_fromUtf8("startButton"))
        self.horizontalLayout.addWidget(self.startButton)
        self.verticalLayout.addWidget(self.filterFrame)
        self.resultList = QtGui.QTreeWidget(TabnannyDialog)
        self.resultList.setAlternatingRowColors(True)
        self.resultList.setRootIsDecorated(False)
        self.resultList.setItemsExpandable(False)
        self.resultList.setObjectName(_fromUtf8("resultList"))
        self.verticalLayout.addWidget(self.resultList)
        self.checkProgressLabel = E5SqueezeLabelPath(TabnannyDialog)
        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.addWidget(self.checkProgressLabel)
        self.checkProgress = QtGui.QProgressBar(TabnannyDialog)
        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(TabnannyDialog)
        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(TabnannyDialog)
        QtCore.QMetaObject.connectSlotsByName(TabnannyDialog)
        TabnannyDialog.setTabOrder(self.startButton, self.excludeFilesEdit)
        TabnannyDialog.setTabOrder(self.excludeFilesEdit, self.resultList)
        TabnannyDialog.setTabOrder(self.resultList, self.buttonBox)

    def retranslateUi(self, TabnannyDialog):
        TabnannyDialog.setWindowTitle(_translate("TabnannyDialog", "Tabnanny Result", None))
        TabnannyDialog.setWhatsThis(_translate("TabnannyDialog", "<b>Tabnanny Results</b>\n"
"<p>This dialog shows the results of the tabnanny command. Double clicking an\n"
"entry will open an editor window and position the cursor at the respective line.</p>", None))
        self.label_2.setText(_translate("TabnannyDialog", "Exclude Files:", None))
        self.excludeFilesEdit.setToolTip(_translate("TabnannyDialog", "Enter filename patterns of files to be excluded separated by a comma", None))
        self.startButton.setToolTip(_translate("TabnannyDialog", "Press to start the tabnanny run", None))
        self.startButton.setText(_translate("TabnannyDialog", "Start", None))
        self.resultList.setWhatsThis(_translate("TabnannyDialog", "<b>Result List</b>\n"
"<p>This list shows the results of the tabnanny command. Double clicking\n"
"an entry will open this entry in an editor window and position the cursor at\n"
"the respective line.</p>", None))
        self.resultList.setSortingEnabled(True)
        self.resultList.headerItem().setText(0, _translate("TabnannyDialog", "Filename", None))
        self.resultList.headerItem().setText(1, _translate("TabnannyDialog", "#", None))
        self.resultList.headerItem().setText(2, _translate("TabnannyDialog", "Source", None))
        self.checkProgress.setToolTip(_translate("TabnannyDialog", "Shows the progress of the tabnanny action", None))
        self.checkProgress.setFormat(_translate("TabnannyDialog", "%v/%m Files", None))

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