aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/tracing
Commit message (Collapse)AuthorAgeFilesLines
* Avoid warning on empty expressionshjk2019-07-232-9/+9
| | | | | | | | For some reason, Q_UNUSED includes already a semicolon, adding one on the user side creates an additional empty statement. Change-Id: I9c5e8fac381345a60792cb75e2938fd53958d3b0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Tracing: Use Combobox for the modes menuUlf Hermann2019-07-051-1/+0
| | | | | | | | This is a better fit than a custom Button + Menu combination. Fixes: QTCREATORBUG-22579 Change-Id: Ie6f8a7ef2ce0da67a16bc365d6f619a11bc56221 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
* Qt Creator CMake portCristian Adam2019-05-1715-0/+72
| | | | | | | | | | | | | | Based on Tobias Hunger's work from a few months ago. The CMake configuration needs libclang and Qt paths specified as CMAKE_PREFIX_PATH. Auto tests are run with "ctest". At the moment the pass rate is 87%. Change-Id: Iba98e39bf22077d52706dce6c85986be67a6eab0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Merge remote-tracking branch 'origin/4.7'Eike Ziller2018-09-071-1/+2
|\ | | | | | | Change-Id: Ifb51ca9893549c478e99c9fc3ea6c32d5d5a28a2
| * Tracing: Adapt aggregator test to new ctor signatureUlf Hermann2018-08-311-1/+2
| | | | | | | | | | Change-Id: Ifb94c1e1f14b26aa2bb365cd08d36fa67642ecc7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* | Tracing: Simplify TimelineModel signalsUlf Hermann2018-07-161-7/+4
|/ | | | | | | | | | | | Instead of laborously calculating which properties have changed under which circumstances, we can just connect the signals of dependent properties. This will give us a few false positive signals at a greatly reduced risk of missing some actual change. Also, the number of expanded and collapsed rows will always be determined by the content of the model. We don't need separate signals for those. Change-Id: Id8495ee525a91405b039fd032509afa125f96412 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
* Tracing: Handle mouse events in FlameGraph QQuickItemUlf Hermann2018-06-186-0/+270
| | | | | | | | | | | | Having an additional MouseArea as child of a ScrollView or a Flickable is not well defined and leads to inconsistent behavior on different systems. We can easily catch the relevant events in the FlameGraph item itself. Also, don't redirect the typeSelected() signals through the model. They don't belong there. Change-Id: I77c17977b5a51d57ccd2ef880d3d6c6a604b7f78 Task-number: QTCREATORBUG-20573 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Move Timeline and FlameGraph into a common "Tracing" libraryUlf Hermann2018-05-0442-0/+2696
This allows us to share code between the two, in particular the QML code for the Details window, and the theme code. This way we can potentially deduplicate some code. Change-Id: I3a0d26b18488bd2a46b5b077b5b5d79ac2dfc5ce Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>