aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilereventsview.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-12-04 16:54:58 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2016-01-06 14:28:24 +0000
commitffa0c86617c2877b8efc9a9d652f35550c8c288a (patch)
tree813e3a52ea7ad328db923735b2090fdfef438465 /src/plugins/qmlprofiler/qmlprofilereventsview.h
parente4efb9bb3b5907a5ba2a6cde167c5a5051a84dac (diff)
QmlProfiler: Allow multiple events views loaded from plugins
Change-Id: Ifaf4e63f4a843a42a1a22f005e87d8c1a4604686 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilereventsview.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilereventsview.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilereventsview.h b/src/plugins/qmlprofiler/qmlprofilereventsview.h
index d121e864a69..e07b399366c 100644
--- a/src/plugins/qmlprofiler/qmlprofilereventsview.h
+++ b/src/plugins/qmlprofiler/qmlprofilereventsview.h
@@ -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