1 /* expert_info_view.h
2  * Tree view of Expert Info data.
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef EXPERT_INFO_VIEW_H
12 #define EXPERT_INFO_VIEW_H
13 
14 #include <config.h>
15 #include <QTreeView>
16 
17 class ExpertInfoTreeView : public QTreeView
18 {
19     Q_OBJECT
20 public:
21     ExpertInfoTreeView(QWidget *parent = 0);
22 
23 signals:
24     void goToPacket(int packet_num, int hf_id);
25 
26 protected slots:
27     void currentChanged(const QModelIndex &current, const QModelIndex &previous);
28 };
29 #endif // EXPERT_INFO_VIEW_H
30