diff options
author | Christiaan Janssen <christiaan.janssen@nokia.com> | 2011-11-10 11:19:22 +0100 |
---|---|---|
committer | Christiaan Janssen <christiaan.janssen@nokia.com> | 2011-11-10 11:39:49 +0100 |
commit | efa7e7a43a3ecf7a6e7fbf01c1302ecb218ffa1b (patch) | |
tree | 4e9bfc54bdd89118f49efc1d3f2cbeab839c7223 /src/plugins/qmlprofiler/qmlprofilereventview.h | |
parent | d09b3b903daf38b930ae95f7f76d56bcb4a3c843 (diff) | |
download | qt-creator-efa7e7a43a3ecf7a6e7fbf01c1302ecb218ffa1b.tar.gz |
QmlProfiler: changed labels in context menu for statistics
Change-Id: I125016944130c7171423e2dec80b2b03832cd282
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilereventview.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilereventview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilereventview.h b/src/plugins/qmlprofiler/qmlprofilereventview.h index f77940cd39..9ceeb9ed86 100644 --- a/src/plugins/qmlprofiler/qmlprofilereventview.h +++ b/src/plugins/qmlprofiler/qmlprofilereventview.h @@ -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: |