forked from qt-creator/qt-creator
QmlProfiler: Allow multiple events views loaded from plugins
Change-Id: Ifaf4e63f4a843a42a1a22f005e87d8c1a4604686 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
#define QMLPROFILEREVENTSVIEW_H
|
||||
|
||||
#include "qmlprofiler_global.h"
|
||||
#include "qmlprofilermodelmanager.h"
|
||||
|
||||
#include <QAbstractItemModel>
|
||||
#include <QWidget>
|
||||
@@ -51,12 +52,21 @@ public:
|
||||
signals:
|
||||
void gotoSourceLocation(const QString &fileName, int lineNumber, int columnNumber);
|
||||
void typeSelected(int typeIndex);
|
||||
void showFullRange();
|
||||
|
||||
public slots:
|
||||
virtual void selectByTypeId(int typeIndex) = 0;
|
||||
virtual void onVisibleFeaturesChanged(quint64 features) = 0;
|
||||
};
|
||||
|
||||
class QMLPROFILER_EXPORT QmlProfilerEventsViewFactory : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
virtual QList<QmlProfilerEventsView *> create(QWidget *parent,
|
||||
QmlProfilerModelManager *manager) = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // QMLPROFILEREVENTSVIEW_H
|
||||
|
||||
Reference in New Issue
Block a user