2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2015-12-04 13:30:54 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2015-12-04 13:30:54 +01:00
|
|
|
|
|
|
|
|
#include "qmlprofiler_global.h"
|
2015-12-04 16:54:58 +01:00
|
|
|
#include "qmlprofilermodelmanager.h"
|
2015-12-04 13:30:54 +01:00
|
|
|
|
|
|
|
|
#include <QAbstractItemModel>
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
|
|
namespace QmlProfiler {
|
|
|
|
|
|
|
|
|
|
class QMLPROFILER_EXPORT QmlProfilerEventsView : public QWidget
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
2018-04-12 10:04:55 +02:00
|
|
|
QmlProfilerEventsView(QWidget *parent = nullptr) : QWidget(parent) {}
|
2015-12-04 13:30:54 +01:00
|
|
|
|
2017-09-07 14:07:10 +02:00
|
|
|
virtual void selectByTypeId(int typeIndex) = 0;
|
|
|
|
|
virtual void onVisibleFeaturesChanged(quint64 features) = 0;
|
|
|
|
|
|
2015-12-04 13:30:54 +01:00
|
|
|
signals:
|
|
|
|
|
void gotoSourceLocation(const QString &fileName, int lineNumber, int columnNumber);
|
|
|
|
|
void typeSelected(int typeIndex);
|
2015-12-04 16:54:58 +01:00
|
|
|
void showFullRange();
|
2015-12-04 13:30:54 +01:00
|
|
|
};
|
|
|
|
|
|
2016-04-28 16:02:54 +02:00
|
|
|
} // namespace QmlProfiler
|