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>
This commit is contained in:
Ulf Hermann
2014-03-06 16:12:02 +01:00
parent 64af5c12e0
commit 16bfbceeba
5 changed files with 82 additions and 18 deletions

View File

@@ -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);