summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qmlprofilereventview.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-03-06 16:12:02 +0100
committerUlf Hermann <ulf.hermann@digia.com>2014-03-10 12:41:43 +0100
commit16bfbceebaf7d0159d2a8436026dc7bbe4200150 (patch)
tree7391443669885b7d3d575b6b9719d7ef5813e6c0 /src/plugins/qmlprofiler/qmlprofilereventview.h
parent64af5c12e004b6e392e7f0c539ef3b02f7d2a564 (diff)
downloadqt-creator-16bfbceebaf7d0159d2a8436026dc7bbe4200150.tar.gz
QmlProfiler: Allow filtering either JS or QML from the events view
As a lot of events show up as QML bindings and signals and as JavaScript functions the events view can be hard to navigate. This change allows the user to either filter out JavaScript events and make it look like the old QML events view or filter out QML events and make it look like the old V8 JavaScript view. Change-Id: I9e0c1184da21263ae174f322b8fcd8ee5ca13f6d Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilereventview.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilereventview.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilereventview.h b/src/plugins/qmlprofiler/qmlprofilereventview.h
index 066e224ab3..d5d9c2baf2 100644
--- a/src/plugins/qmlprofiler/qmlprofilereventview.h
+++ b/src/plugins/qmlprofiler/qmlprofilereventview.h
@@ -78,6 +78,11 @@ public:
void setShowExtendedStatistics(bool show);
bool showExtendedStatistics() const;
+ void setShowJavaScript(bool show);
+ bool showJavaScript() const;
+
+ void setShowQml(bool show);
+ bool showQml() const;
signals:
void gotoSourceLocation(const QString &fileName, int lineNumber, int columnNumber);