forked from qt-creator/qt-creator
QmlProfiler: Add special model for notes
Change-Id: Ia0acbc5e0a02563cf497594b67a5f7a67488fb79 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
This commit is contained in:
@@ -60,11 +60,20 @@ public:
|
||||
qint64 numericData5;
|
||||
};
|
||||
|
||||
struct QmlEventNoteData {
|
||||
int typeIndex;
|
||||
qint64 startTime;
|
||||
qint64 duration;
|
||||
QString text;
|
||||
};
|
||||
|
||||
explicit QmlProfilerDataModel(Utils::FileInProjectFinder *fileFinder, QmlProfilerModelManager *parent = 0);
|
||||
|
||||
const QVector<QmlEventData> &getEvents() const;
|
||||
const QVector<QmlEventTypeData> &getEventTypes() const;
|
||||
const QVector<QmlEventNoteData> &getEventNotes() const;
|
||||
void setData(const QVector<QmlEventTypeData> &types, const QVector<QmlEventData> &events);
|
||||
void setNoteData(const QVector<QmlEventNoteData> ¬es);
|
||||
|
||||
int count() const;
|
||||
virtual void clear();
|
||||
|
||||
Reference in New Issue
Block a user