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

# Form implementation generated from reading ui file 'eric/DataViews/CodeMetricsDialog.ui'
#
# Created: Sun Jan 18 22:19:53 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_CodeMetricsDialog(object):
    def setupUi(self, CodeMetricsDialog):
        CodeMetricsDialog.setObjectName(_fromUtf8("CodeMetricsDialog"))
        CodeMetricsDialog.resize(832, 587)
        CodeMetricsDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(CodeMetricsDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.filterFrame = QtGui.QFrame(CodeMetricsDialog)
        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(CodeMetricsDialog)
        self.resultList.setAlternatingRowColors(True)
        self.resultList.setObjectName(_fromUtf8("resultList"))
        self.verticalLayout.addWidget(self.resultList)
        self.summaryList = QtGui.QTreeWidget(CodeMetricsDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.summaryList.sizePolicy().hasHeightForWidth())
        self.summaryList.setSizePolicy(sizePolicy)
        self.summaryList.setAlternatingRowColors(True)
        self.summaryList.setObjectName(_fromUtf8("summaryList"))
        self.verticalLayout.addWidget(self.summaryList)
        self.checkProgress = QtGui.QProgressBar(CodeMetricsDialog)
        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(CodeMetricsDialog)
        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(CodeMetricsDialog)
        QtCore.QMetaObject.connectSlotsByName(CodeMetricsDialog)
        CodeMetricsDialog.setTabOrder(self.startButton, self.excludeFilesEdit)
        CodeMetricsDialog.setTabOrder(self.excludeFilesEdit, self.resultList)
        CodeMetricsDialog.setTabOrder(self.resultList, self.summaryList)
        CodeMetricsDialog.setTabOrder(self.summaryList, self.buttonBox)

    def retranslateUi(self, CodeMetricsDialog):
        CodeMetricsDialog.setWindowTitle(_translate("CodeMetricsDialog", "Code Metrics", None))
        CodeMetricsDialog.setWhatsThis(_translate("CodeMetricsDialog", "<b>Code Metrics</b>\n"
"<p>This dialog shows some code metrics.</p>", None))
        self.label_2.setText(_translate("CodeMetricsDialog", "Exclude Files:", None))
        self.excludeFilesEdit.setToolTip(_translate("CodeMetricsDialog", "Enter filename patterns of files to be excluded separated by a comma", None))
        self.startButton.setToolTip(_translate("CodeMetricsDialog", "Press to start the code metrics run", None))
        self.startButton.setText(_translate("CodeMetricsDialog", "Start", None))
        self.resultList.setWhatsThis(_translate("CodeMetricsDialog", "<b>Code metrics</b>\n"
"<p>This list shows some code metrics.</p>", None))
        self.resultList.headerItem().setText(0, _translate("CodeMetricsDialog", "Name", None))
        self.resultList.headerItem().setText(1, _translate("CodeMetricsDialog", "Start", None))
        self.resultList.headerItem().setText(2, _translate("CodeMetricsDialog", "End", None))
        self.resultList.headerItem().setText(3, _translate("CodeMetricsDialog", "Lines", None))
        self.resultList.headerItem().setText(4, _translate("CodeMetricsDialog", "Lines of code", None))
        self.resultList.headerItem().setText(5, _translate("CodeMetricsDialog", "Comments", None))
        self.resultList.headerItem().setText(6, _translate("CodeMetricsDialog", "Empty", None))
        self.summaryList.setWhatsThis(_translate("CodeMetricsDialog", "<b>Summary</b>\n"
"<p>This shows some overall code metrics.</p>", None))
        self.summaryList.headerItem().setText(0, _translate("CodeMetricsDialog", "Summary", None))
        self.summaryList.headerItem().setText(1, _translate("CodeMetricsDialog", "#", None))
        self.checkProgress.setToolTip(_translate("CodeMetricsDialog", "Shows the progress of the code metrics action", None))
        self.checkProgress.setFormat(_translate("CodeMetricsDialog", "%v/%m Files", None))

from E5Gui.E5LineEdit import E5ClearableLineEdit
