Ultimately we want this as jobs for the progress manager, but let's
get the logic right before. The state widget should not estimate
profiling times and it doesn't have to keep local copies of all the
state the model and state managers already have. Also, we need an
additional indication for "waiting for application to send data", as
that can take significant time.
Change-Id: I3677dea4b0561bc83a7bc3c196ce0854c5624f12
Task-number: QTCREATORBUG-12958
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
We can receive data while recording now. The progress bar is not
helpful, though, as it doesn't tell us how much data we have received.
It's better to disable it until the recording is done.
Change-Id: Icc567fd33607e0c9b011504a0c76a7d84163945a
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
It gets triggered accidentally when the updateDisplay() is triggered
before the views are re-enabled after loading a trace. The V8 view is
gone, so we don't need it anymore.
Change-Id: If0eb96d47243f82ef66da9b3184b3b886d6f1457
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Sometimes the text would not fit and constantly resizing them is ugly
anyway.
Change-Id: Id1136ae3b2d2f339ff6f4302b45794201221e6c4
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
People frequently wonder why the V8 pane is empty and disabled. This
change makes it more explicit.
Change-Id: I381bff072840dde1fdd038b3d00dd3a400261bc9
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Remove some unnecessary code and consolidate things.
Change-Id: I3f6c971b84368013a60a7a7fa9545480b0cd551b
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
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>
We don't want to emit a signal for each event being added. That's
expensive and doesn't serve any purpose. We also don't have to save
the availability of data in QML as it isn't used anywhere.
Change-Id: I32db06a1955a7cfd6b569f50b81bf5278333b622
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
The model manager should only set its state to 'Done' if all models are
actually done. When that is the case it can safely emit dataAvailable,
too, freeing us of the need to apply a heuristic to the progress
percentage. In order to have a unified interface to the completion of
model processing an abstract base class for QML and V8 models is
introduced.
Task-number: QTCREATORBUG-11466
Change-Id: Id89c7ef5e24004baab7f37ee5486b69e7611aee0
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>