Tracing: Add context menu option to reset the flame graph

The double-clicking-on-blank-space method is really hard to discover.

Task-number: QTCREATORBUG-20732
Change-Id: I09e3189292c236fea0698e7cb68ea8340f9033fe
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2019-01-24 10:37:02 +01:00
parent 8d6ccb0822
commit cc213dbe49
6 changed files with 32 additions and 2 deletions

View File

@@ -42,6 +42,9 @@ ScrollView {
flamegraph.selectedTypeId = selectedTypeId;
}
function resetRoot() { flamegraph.resetRoot(); }
property bool zoomed: flamegraph.zoomed
property int sizeRole: -1
property var model: null