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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/DataViews/PyProfileDialog.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_PyProfileDialog(object):
    def setupUi(self, PyProfileDialog):
        PyProfileDialog.setObjectName("PyProfileDialog")
        PyProfileDialog.resize(QtCore.QSize(QtCore.QRect(0,0,832,587).size()).expandedTo(PyProfileDialog.minimumSizeHint()))

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(PyProfileDialog.sizePolicy().hasHeightForWidth())
        PyProfileDialog.setSizePolicy(sizePolicy)
        PyProfileDialog.setSizeGripEnabled(True)

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

        self.resultList = QtGui.QTreeWidget(PyProfileDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(7))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.resultList.sizePolicy().hasHeightForWidth())
        self.resultList.setSizePolicy(sizePolicy)
        self.resultList.setAlternatingRowColors(True)
        self.resultList.setRootIsDecorated(False)
        self.resultList.setItemsExpandable(False)
        self.resultList.setSortingEnabled(True)
        self.resultList.setObjectName("resultList")
        self.resultList.headerItem().setText(8,"")
        self.vboxlayout.addWidget(self.resultList)

        self.summaryList = QtGui.QTreeWidget(PyProfileDialog)

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

        self.checkProgress = QtGui.QProgressBar(PyProfileDialog)
        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(PyProfileDialog)
        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(PyProfileDialog)
        QtCore.QMetaObject.connectSlotsByName(PyProfileDialog)
        PyProfileDialog.setTabOrder(self.resultList,self.summaryList)

    def retranslateUi(self, PyProfileDialog):
        PyProfileDialog.setWindowTitle(QtGui.QApplication.translate("PyProfileDialog", "Profile Results", None, QtGui.QApplication.UnicodeUTF8))
        PyProfileDialog.setWhatsThis(QtGui.QApplication.translate("PyProfileDialog", "<b>Profile Results</b>\n"
        "<p>This dialog shows the profile results.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.setWhatsThis(QtGui.QApplication.translate("PyProfileDialog", "<b>Profile Results</b>\n"
        "<p>This list shows the profile results. There are several actions available via the context menu.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(0,QtGui.QApplication.translate("PyProfileDialog", "Nr. Calls", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(1,QtGui.QApplication.translate("PyProfileDialog", "Total Time", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(2,QtGui.QApplication.translate("PyProfileDialog", "Tot. Time / Call", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(3,QtGui.QApplication.translate("PyProfileDialog", "Cumulative Time", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(4,QtGui.QApplication.translate("PyProfileDialog", "Cum. Time / Call", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(5,QtGui.QApplication.translate("PyProfileDialog", "Filename", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(6,QtGui.QApplication.translate("PyProfileDialog", "Line", None, QtGui.QApplication.UnicodeUTF8))
        self.resultList.headerItem().setText(7,QtGui.QApplication.translate("PyProfileDialog", "Function", None, QtGui.QApplication.UnicodeUTF8))
        self.summaryList.setWhatsThis(QtGui.QApplication.translate("PyProfileDialog", "<b>Summary</b>\n"
        "<p>This shows some overall profile data. There are several actions available via the context menu.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.summaryList.headerItem().setText(0,QtGui.QApplication.translate("PyProfileDialog", "Summary", None, QtGui.QApplication.UnicodeUTF8))
        self.summaryList.headerItem().setText(1,QtGui.QApplication.translate("PyProfileDialog", "#", None, QtGui.QApplication.UnicodeUTF8))
        self.checkProgress.setToolTip(QtGui.QApplication.translate("PyProfileDialog", "Shows the progress of the profile data calculation", None, QtGui.QApplication.UnicodeUTF8))



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