QmlProfiler: changed labels in context menu for statistics

Change-Id: I125016944130c7171423e2dec80b2b03832cd282
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Christiaan Janssen
2011-11-10 11:19:22 +01:00
parent d09b3b903d
commit efa7e7a43a
3 changed files with 29 additions and 7 deletions

View File

@@ -70,6 +70,8 @@ public:
void copyTableToClipboard() const;
void copyRowToClipboard() const;
bool hasGlobalStats() const;
signals:
void gotoSourceLocation(const QString &fileName, int lineNumber);
void contextMenuRequested(const QPoint &position);
@@ -85,6 +87,8 @@ private:
QmlProfilerEventsMainView *m_eventTree;
QmlProfilerEventsParentsAndChildrenView *m_eventChildren;
QmlProfilerEventsParentsAndChildrenView *m_eventParents;
bool m_globalStatsEnabled;
};
class QmlProfilerEventsMainView : public QTreeView
@@ -134,6 +138,7 @@ public:
static QString nameForType(int typeNumber);
void getStatisticsInRange(qint64 rangeStart, qint64 rangeEnd);
bool isRangeGlobal(qint64 rangeStart, qint64 rangeEnd) const;
int selectedEventId() const;
signals: