QmlProfiler: Make progress widget more expressive

Instead of the progress bar we can now show the number of events we
have received, and the number of finished finalizers. This should give
a the user a better idea of what is going on.

Change-Id: I324fefbe6d5e3c24b080bfbc103c4317fa585215
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
Ulf Hermann
2016-05-11 14:43:26 +02:00
parent 475e527cf0
commit c39ed2a3b7
4 changed files with 64 additions and 19 deletions

View File

@@ -99,10 +99,14 @@ public:
QmlProfilerNotesModel *notesModel() const;
bool isEmpty() const;
uint numLoadedEvents() const;
int registerModelProxy();
void announceFeatures(quint64 features, EventLoader eventLoader, Finalizer finalizer);
int numFinishedFinalizers() const;
int numRegisteredFinalizers() const;
void dispatch(const QmlEvent &event, const QmlEventType &type);
quint64 availableFeatures() const;