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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/DataViews/CodeMetricsDialog.ui'
#
# Created: Sat Feb  3 15:33:53 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_CodeMetricsDialog(object):
    def setupUi(self, CodeMetricsDialog):
        CodeMetricsDialog.setObjectName("CodeMetricsDialog")
        CodeMetricsDialog.resize(QtCore.QSize(QtCore.QRect(0,0,832,587).size()).expandedTo(CodeMetricsDialog.minimumSizeHint()))
        CodeMetricsDialog.setSizeGripEnabled(True)

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

        self.resultList = QtGui.QTreeWidget(CodeMetricsDialog)
        self.resultList.setAlternatingRowColors(True)
        self.resultList.setObjectName("resultList")
        self.resultList.headerItem().setText(7,"")
        self.vboxlayout.addWidget(self.resultList)

        self.summaryList = QtGui.QTreeWidget(CodeMetricsDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(5))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.summaryList.sizePolicy().hasHeightForWidth())
        self.summaryList.setSizePolicy(sizePolicy)
        self.summaryList.setAlternatingRowColors(True)
        self.summaryList.setObjectName("summaryList")
        self.summaryList.headerItem().setText(2,"")
        self.vboxlayout.addWidget(self.summaryList)

        self.checkProgress = QtGui.QProgressBar(CodeMetricsDialog)
        self.checkProgress.setProperty("value",QtCore.QVariant(0))
        self.checkProgress.setOrientation(QtCore.Qt.Horizontal)
        self.checkProgress.setObjectName("checkProgress")
        self.vboxlayout.addWidget(self.checkProgress)

        self.buttonBox = QtGui.QDialogButtonBox(CodeMetricsDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.NoButton)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(CodeMetricsDialog)
        QtCore.QMetaObject.connectSlotsByName(CodeMetricsDialog)

    def retranslateUi(self, CodeMetricsDialog):
        CodeMetricsDialog.setWindowTitle(QtGui.QApplication.translate("CodeMetricsDialog", "Code Metrics", None, QtGui.QApplication.UnicodeUTF8))
        CodeMetricsDialog.setWhatsThis(QtGui.QApplication.translate("CodeMetricsDialog", "<b>Code Metrics</b>\n"
        "<p>This dialog shows some code metrics.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.setWhatsThis(QtGui.QApplication.translate("CodeMetricsDialog", "<b>Code metrics</b>\n"
        "<p>This list shows some code metrics.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(0,QtGui.QApplication.translate("CodeMetricsDialog", "Name", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(1,QtGui.QApplication.translate("CodeMetricsDialog", "Start", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(2,QtGui.QApplication.translate("CodeMetricsDialog", "End", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(3,QtGui.QApplication.translate("CodeMetricsDialog", "Lines", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(4,QtGui.QApplication.translate("CodeMetricsDialog", "Lines of code", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(5,QtGui.QApplication.translate("CodeMetricsDialog", "Comments", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(6,QtGui.QApplication.translate("CodeMetricsDialog", "Empty", None, QtGui.QApplication.UnicodeUTF8))
        self.summaryList.setWhatsThis(QtGui.QApplication.translate("CodeMetricsDialog", "<b>Summary</b>\n"
        "<p>This shows some overall code metrics.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.summaryList.headerItem().setText(0,QtGui.QApplication.translate("CodeMetricsDialog", "Summary", None, QtGui.QApplication.UnicodeUTF8))
        self.summaryList.headerItem().setText(1,QtGui.QApplication.translate("CodeMetricsDialog", "#", None, QtGui.QApplication.UnicodeUTF8))
        self.checkProgress.setToolTip(QtGui.QApplication.translate("CodeMetricsDialog", "Shows the progress of the code metrics action", None, QtGui.QApplication.UnicodeUTF8))



if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    CodeMetricsDialog = QtGui.QDialog()
    ui = Ui_CodeMetricsDialog()
    ui.setupUi(CodeMetricsDialog)
    CodeMetricsDialog.show()
    sys.exit(app.exec_())
