- 18 May, 2015 1 commit
-
-
Ulf Hermann authored
The only thing they did was trigger some QML code that set the zoom to 10% of the available range. 10% is somewhat arbitrary, so we shouldn't have it in the general purpose timeline. Also, we don't really have to pass the signal through several connections just to do that in QML. The clearChildren() didn't have any effect there as dataAvailable() should only happen if the view is already cleared. Change-Id: I1813ed37a82fc3fd5c3b7fc02b2afb1dcbcadcfb Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
-
- 16 Feb, 2015 1 commit
-
-
Joerg Bornemann authored
Added a text field to search for notes within the timeline's events. Task-number: QTCREATORBUG-13417 Change-Id: Ic121ec8ade42b1ef99d5da13d1f732761d244327 Reviewed-by:
Ulf Hermann <ulf.hermann@theqtcompany.com>
-
- 16 Dec, 2014 1 commit
-
-
Ulf Hermann authored
Change-Id: I964b2f149e237eb25a08600e8dab8968e8bc0cb9 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 15 Dec, 2014 4 commits
-
-
Ulf Hermann authored
The new namespace "Timeline" is for classes that are supposed to go to the generic timeline library later. Change-Id: I1f6dce59de2c37398b1ed89473e1a94ec020104b Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I633dc6a862f344a7e5e86c25e44e400e3000f644 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: Ifebd60a24b3e07702ca603425b5133e9a23557c5 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I7bab7b20f3467f000a7ba4917919caa8f15ecf22 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 05 Dec, 2014 1 commit
-
-
Ulf Hermann authored
Change-Id: If56940133b54905700fd51feac61d097677002c2 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 27 Nov, 2014 1 commit
-
-
Ulf Hermann authored
That's where they belong. Having them in the view makes no sense. Change-Id: Ia2a6c8b02804ed8a1e10b0731cd62b6fd6489b0c Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 21 Nov, 2014 5 commits
-
-
Ulf Hermann authored
We need a general purpose TimelineModel and a specialized QmlProfilerTimelineModel. Change-Id: I2da02d65efa11e160cab5fa9f8a21075beb0e2bf Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Change-Id: I5aa8162d18fad46601198fe71fe87591737c30ff Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
The event view deals in type ids and the timeline view has to handle selection by type id. Using the coincidence that typeId == selectionId in the cases we're interested in is ugly. Change-Id: I6f94ccd2c3945d5901d0a225deee7de077bfce58 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
The ones we'll refactor into the timeline library should be called timeline* and the others should be called qmlprofiler*. Change-Id: I6ecccbe4ef523681ca0baeef140368e2c1839964 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
Ulf Hermann authored
Avoid keeping multiple, potentially diverging copies of the same time information and make sure all the times are consistent with each other. Stating the times as properties allows us to use bindings in more places, too. Change-Id: I9cdd4f561ac22ad795939594ba340b1fbc070e9a Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 15 Oct, 2014 1 commit
-
-
Ulf Hermann authored
Change-Id: Ia0acbc5e0a02563cf497594b67a5f7a67488fb79 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com>
-
- 09 Oct, 2014 1 commit
-
-
Eike Ziller authored
Change-Id: I3c22ef2685d7aa589f5d0ab74d693653a4c32082 Reviewed-by:
Alessandro Portale <alessandro.portale@digia.com>
-
- 02 Oct, 2014 2 commits
-
-
Ulf Hermann authored
It's rather unintuitive if it only centers horizontally. Change-Id: I9245da0b26fccc14a100804715d09aaa82059413 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
This is faster and more accurate than propagating by source location. Change-Id: I6aed3b1591380b49dd7c56a66bdc35912570e347 Task-number: QTCREATORBUG-12932 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 29 Sep, 2014 3 commits
-
-
Ulf Hermann authored
It wasn't helpful that this method could either count all events or only the events from a specific model. Change-Id: I09dcb37edd3403a23f6ee9008fc71b6761aa9e26 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
Like this we can easily refer to them from QML and it makes it simpler to see if we mean the overall height or the height of a single category. Change-Id: Ia2b79d99b5c46c3d9563cfc2ed0715bc352ce9b4 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
The convention is now that selections are the rows in the expanded timeline, "types" are the types in the QmlProfilerDataModel, and events are the single boxes in the timeline. Thus, the event view shows only types and for consistency the V8 view does so, too. Having eventId as synonym for "type index" and "event index" as actual index into the list of events is confusing. Change-Id: I6b7c4c3f1ab0a8b71c511de52ab296a2e91cf5f0 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 15 Sep, 2014 1 commit
-
-
Ulf Hermann authored
Like this we can properly refer to them from QML. Change-Id: I98378d543d307f78909191225e72c9d0404dfa1d Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 10 Sep, 2014 1 commit
-
-
Ulf Hermann authored
This clarifies that the item height is not absolute but relative to the row height, and it reduces the ambiguity of the various "height" methods. Change-Id: I391441147c88b47a14e539fc3853702bb517d27b Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 09 Sep, 2014 2 commits
-
-
Ulf Hermann authored
Task-number: QTCREATORBUG-12337 Change-Id: I399593f44aa8ff8dd79c623108fecb3c317cb63c Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
By listening only to the relevant expandedChanged and rowHeightChanged signals we avoid accessing invalid data on clearing. When clearing the models each one is collapsed. The collapsing in turn triggers rebuilding of the labels. Unrelated labels could access already cleared data like this. Change-Id: I3fad45f5c6279019fbc27ec54e758f498a9d55f2 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 26 Aug, 2014 6 commits
-
-
Ulf Hermann authored
There is no use in creating multiple nested maps and lists and selecting special translation contexts for that. Change-Id: Ib83ab651adca8258a0e5b9ac99a657623a24145b Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
Also, all methods about events in models don't really need the "event" prefix as that is what the models are about. Change-Id: I7b995aa9c9dce7e01d4c862d094b1e73e6b6fb40 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
Also, remove categoryTitles() which isn't used anywhere. Change-Id: I919abf1221fb71d407eb04190d27180ed39b7b45 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
It doesn't make any sense Change-Id: Ida6d19e3e7835a9ad23b8cbc7099bf07b05701c3 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
A numerical representation of "state" is not so useful after all. Change-Id: I7fc3ae08a2fd44000b5543f4ba25730a8d79358d Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
It's unused and there is no point in having it as you can retrieve the time span from zoomControl Change-Id: I474ecf4ee6c183ac8b97bbac9c47618f52d956c0 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 24 Jun, 2014 2 commits
-
-
Ulf Hermann authored
If you resize the rows to at least double their default size and if the model specifies a scale it will be drawn as additional horizontal lines and numbers in the background. Change-Id: I02844b4102e043031ee04daa45666dc3f8da1d2e Task-number: QTCREATORBUG-12337 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
Like that we can provide functionality to interactively resize rows in the model so that one can zoom in to more interesting parts. Change-Id: I31f14cd8aa37703240ebec744ca2e77188fb0f27 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 17 Jun, 2014 3 commits
-
-
Ulf Hermann authored
Sending a signal for every model when clearing or loading data is not very smart. Change-Id: Ifc81d74f6b7f93bcd6748a919dfb553050b8d725 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
Using strings to identify equal events is terribly inefficient. By keeping a global list of event types we can assign each event a numerical type index and use that to compare them. We can also avoid excessive string copying and data duplication by referring to the global type list where event type information is needed. Task-number: QTCREATORBUG-11823 Change-Id: I837bd5d0f5395b0003002ef8dd278fb27679c65d Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
With only one category per model we only have one eventType per model and thus we don't need to differentiate per type anymore when calculating the nesting. Change-Id: Ic42a1c5c056f3480b7842a57fbff66a5e907abfb Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 16 Jun, 2014 2 commits
-
-
Ulf Hermann authored
This simplifies the code a lot and allows for more flexibility when interacting with the data. Change-Id: I69630071eee66840e905fcd95ba8c708742d58b6 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
Ulf Hermann authored
This allows more precise specification of which event is supposed to be selected. Task-number: QTCREATORBUG-11945 Change-Id: Iff2e9bb8569711cc5df72a5ca55956e0091d6163 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 06 Jun, 2014 1 commit
-
-
Ulf Hermann authored
There is no reason to express colors as QVariantList. Change-Id: I8c816e547b2f9be0f02a9d275791021ac06cff4f Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-
- 19 Feb, 2014 1 commit
-
-
Ulf Hermann authored
There is no real reason for the existence of a QmlProfilerSimpleModel. Change-Id: I6419973cfad5564913bf92f17fdcf7e529af4b01 Reviewed-by:
Kai Koehne <kai.koehne@digia.com>
-