aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/timeline/timelinezoomcontrol.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move Timeline and FlameGraph into a common "Tracing" libraryUlf Hermann2018-05-041-194/+0
| | | | | | | | | | 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 <[email protected]> Reviewed-by: Eike Ziller <[email protected]>
* Update License according to agreement with Free Qt FoundationTobias Hunger2016-01-191-16/+12
| | | | | | | * Update remaining files in src Change-Id: I1896f17fcf34f71c3310c87899fb5171b8e4afb1 Reviewed-by: Tobias Hunger <[email protected]>
* Timeline: Introduce properties for zoom constantsUlf Hermann2015-11-191-5/+5
| | | | | | | | | | minimumRangeLength and maximumZoomFactor should be accessible from QML. Also, the timer offset is obviously not the same as minimumRangeLength, and as the exact number doesn't matter we give it a different value to make that clear. Change-Id: I9cc0289809b14ed32ec06a49276e31ce7b86a301 Reviewed-by: Maurice Kalinowski <[email protected]>
* Timeline: Expose the "moving" state of the zoom control windowUlf Hermann2015-05-181-2/+17
| | | | | | | This is very handy for testing. Change-Id: If07efebdc3da027d6f6a3b6d3a421bdb71a51e11 Reviewed-by: Joerg Bornemann <[email protected]>
* Timeline: Don't use window movement logic when clearing zoom controlUlf Hermann2015-05-181-2/+20
| | | | | | | Otherwise we get a lot of confusing noise in that case. Change-Id: I0fb77b0ae841fd863790acd86f2b24acab0e7374 Reviewed-by: Joerg Bornemann <[email protected]>
* Timeline: If range moves out of window, completely rebuild the windowUlf Hermann2015-05-181-1/+2
| | | | | | | | The previous code miraculously moved window and range to the right places, but went through a series of invalid states in between. Change-Id: Id6b1fd6d615d7900beda914a0415720a57d464b5 Reviewed-by: Joerg Bornemann <[email protected]>
* Timeline: Reset selection on clear() and emit rangeChanged() only onceUlf Hermann2015-05-181-3/+5
| | | | | Change-Id: Ia4ca2fa6fac874ac66837e5c9d807a4e89b3b40e Reviewed-by: Joerg Bornemann <[email protected]>
* Timeline: Centralize the selection in zoom control.Ulf Hermann2015-03-241-2/+13
| | | | | | | | | | This is where it logically belongs, given that trace, window, and range are already there. Also, it fixes the types to qint64, making it easier to reason about type conversions and numerical overflows. Change-Id: I2f88b2646b9a649d34bdf4fe87c37e7afdeee078 Task-number: QTCREATORBUG-14170 Reviewed-by: Joerg Bornemann <[email protected]>
* Timeline: Remove methods for setting trace start and end separatelyUlf Hermann2015-03-241-22/+0
| | | | | | | | They aren't used anywhere and setting the trace time should be an atomic operation. Change-Id: Ia2a4d35935316e2ad9cc96e930243e4df7447c19 Reviewed-by: Joerg Bornemann <[email protected]>
* Timeline: Add some forgotten bracesUlf Hermann2015-03-061-1/+1
| | | | | | | | | This broke window recalculation when the window was clamped against the trace end. Change-Id: I6c62e1440476ea9e36b08a2edd3e0c3bb2dec931 Task-number: QTCREATORBUG-14105 Reviewed-by: Joerg Bornemann <[email protected]>
* Port to new connect apiMontel Laurent2015-02-041-1/+1
| | | | | | Change-Id: I84834f37dd15108ed8c5fbf5353bcabc4e564f70 Reviewed-by: hjk <[email protected]> Reviewed-by: Christian Kandeler <[email protected]>
* Timeline: Create new library from contents of QmlProfilerUlf Hermann2014-12-161-0/+173
Change-Id: I964b2f149e237eb25a08600e8dab8968e8bc0cb9 Reviewed-by: Kai Koehne <[email protected]>