1 /* expert_info_dialog.h
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later*/
9 #ifndef EXPERT_INFO_DIALOG_H
10 #define EXPERT_INFO_DIALOG_H
16 #include "filter_action.h"
17 #include "wireshark_dialog.h"
18 #include <ui/qt/models/expert_info_model.h>
19 #include <ui/qt/models/expert_info_proxy_model.h>
20 #include <ui/qt/widgets/expert_info_view.h>
25 class ExpertInfoDialog;
28 class ExpertInfoDialog : public WiresharkDialog
33 explicit ExpertInfoDialog(QWidget &parent, CaptureFile& capture_file);
37 void setDisplayFilter(const QString &display_filter = QString());
39 ExpertInfoTreeView* getExpertInfoView();
42 void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
45 Ui::ExpertInfoDialog *ui;
47 ExpertInfoModel* expert_info_model_;
48 ExpertInfoProxyModel* proxyModel_;
52 QString display_filter_;
56 void captureEvent(CaptureEvent *e);
60 void on_actionShowError_toggled(bool checked);
61 void on_actionShowWarning_toggled(bool checked);
62 void on_actionShowNote_toggled(bool checked);
63 void on_actionShowChat_toggled(bool checked);
64 void on_actionShowComment_toggled(bool checked);
66 void showExpertInfoMenu(QPoint pos);
67 void filterActionTriggered();
71 void on_limitCheckBox_toggled(bool);
72 void on_groupBySummaryCheckBox_toggled(bool);
73 void on_searchLineEdit_textChanged(const QString &search_re);
74 void on_buttonBox_helpRequested();
77 #endif // EXPERT_INFO_DIALOG_H
85 * indent-tabs-mode: nil
88 * ex: set shiftwidth=4 tabstop=8 expandtab:
89 * :indentSize=4:tabSize=8:noTabs=true: