2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2019 Klarälvdalens Datakonsult AB, a KDAB Group company,
|
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
|
2019-08-29 11:45:45 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "ctfvisualizerconstants.h"
|
|
|
|
|
|
|
|
|
|
#include <utils/itemviews.h>
|
|
|
|
|
|
|
|
|
|
namespace CtfVisualizer {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class CtfStatisticsModel;
|
|
|
|
|
|
|
|
|
|
class CtfStatisticsView : public Utils::TreeView
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit CtfStatisticsView(CtfStatisticsModel *model, QWidget *parent = nullptr);
|
|
|
|
|
~CtfStatisticsView() override = default;
|
|
|
|
|
|
|
|
|
|
void selectByTitle(const QString &title);
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
void eventTypeSelected(const QString &title);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // Internal
|
|
|
|
|
} // CtfVisualizer
|