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

# Form implementation generated from reading ui file 'eric/Debugger/CallTraceViewer.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# 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_CallTraceViewer(object):
    def setupUi(self, CallTraceViewer):
        CallTraceViewer.setObjectName(_fromUtf8("CallTraceViewer"))
        CallTraceViewer.resize(400, 528)
        self.verticalLayout = QtGui.QVBoxLayout(CallTraceViewer)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.startTraceButton = QtGui.QToolButton(CallTraceViewer)
        self.startTraceButton.setText(_fromUtf8("Start"))
        self.startTraceButton.setObjectName(_fromUtf8("startTraceButton"))
        self.horizontalLayout.addWidget(self.startTraceButton)
        self.stopTraceButton = QtGui.QToolButton(CallTraceViewer)
        self.stopTraceButton.setText(_fromUtf8("Stop"))
        self.stopTraceButton.setObjectName(_fromUtf8("stopTraceButton"))
        self.horizontalLayout.addWidget(self.stopTraceButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.resizeButton = QtGui.QToolButton(CallTraceViewer)
        self.resizeButton.setText(_fromUtf8("Resize"))
        self.resizeButton.setObjectName(_fromUtf8("resizeButton"))
        self.horizontalLayout.addWidget(self.resizeButton)
        self.clearButton = QtGui.QToolButton(CallTraceViewer)
        self.clearButton.setText(_fromUtf8("Clear"))
        self.clearButton.setObjectName(_fromUtf8("clearButton"))
        self.horizontalLayout.addWidget(self.clearButton)
        self.saveButton = QtGui.QToolButton(CallTraceViewer)
        self.saveButton.setText(_fromUtf8("Save"))
        self.saveButton.setObjectName(_fromUtf8("saveButton"))
        self.horizontalLayout.addWidget(self.saveButton)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.callTrace = QtGui.QTreeWidget(CallTraceViewer)
        self.callTrace.setAlternatingRowColors(True)
        self.callTrace.setExpandsOnDoubleClick(False)
        self.callTrace.setObjectName(_fromUtf8("callTrace"))
        self.verticalLayout.addWidget(self.callTrace)

        self.retranslateUi(CallTraceViewer)
        QtCore.QMetaObject.connectSlotsByName(CallTraceViewer)
        CallTraceViewer.setTabOrder(self.startTraceButton, self.stopTraceButton)
        CallTraceViewer.setTabOrder(self.stopTraceButton, self.resizeButton)
        CallTraceViewer.setTabOrder(self.resizeButton, self.clearButton)
        CallTraceViewer.setTabOrder(self.clearButton, self.saveButton)
        CallTraceViewer.setTabOrder(self.saveButton, self.callTrace)

    def retranslateUi(self, CallTraceViewer):
        CallTraceViewer.setWindowTitle(_translate("CallTraceViewer", "Call Trace", None))
        self.startTraceButton.setToolTip(_translate("CallTraceViewer", "Press to start tracing calls and returns", None))
        self.stopTraceButton.setToolTip(_translate("CallTraceViewer", "Press to stop tracing calls and returns", None))
        self.resizeButton.setToolTip(_translate("CallTraceViewer", "Press to resize the columns to their contents", None))
        self.clearButton.setToolTip(_translate("CallTraceViewer", "Press to clear the call trace", None))
        self.saveButton.setToolTip(_translate("CallTraceViewer", "Press to save the call trace as a text file", None))
        self.callTrace.headerItem().setText(1, _translate("CallTraceViewer", "From", None))
        self.callTrace.headerItem().setText(2, _translate("CallTraceViewer", "To", None))

