Wireshark  4.3.0
The Wireshark network protocol analyzer
expert_info_dialog.h
Go to the documentation of this file.
1 
10 #ifndef EXPERT_INFO_DIALOG_H
11 #define EXPERT_INFO_DIALOG_H
12 
13 #include <config.h>
14 
15 #include "filter_action.h"
16 #include "wireshark_dialog.h"
20 
21 #include <QMenu>
22 
23 namespace Ui {
24 class ExpertInfoDialog;
25 }
26 
28 {
29  Q_OBJECT
30 
31 public:
32  explicit ExpertInfoDialog(QWidget &parent, CaptureFile& capture_file, QString displayFilter);
34 
35  void clearAllData();
36 
37  ExpertInfoTreeView* getExpertInfoView();
38 
39 signals:
40  void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
41 
42 private:
43  Ui::ExpertInfoDialog *ui;
44 
45  ExpertInfoModel* expert_info_model_;
46  ExpertInfoProxyModel* proxyModel_;
47 
48  QMenu ctx_menu_;
49 
50  QString display_filter_;
51 
52 private slots:
53  void retapPackets();
54  void captureEvent(CaptureEvent e);
55 
56  void updateWidgets();
57 
58  void on_actionShowError_toggled(bool checked);
59  void on_actionShowWarning_toggled(bool checked);
60  void on_actionShowNote_toggled(bool checked);
61  void on_actionShowChat_toggled(bool checked);
62  void on_actionShowComment_toggled(bool checked);
63 
64  void showExpertInfoMenu(QPoint pos);
65  void filterActionTriggered();
66  void collapseTree();
67  void expandTree();
68 
69  void limitCheckBoxToggled(bool);
70  void on_groupBySummaryCheckBox_toggled(bool);
71  void on_searchLineEdit_textChanged(const QString &search_re);
72  void on_buttonBox_helpRequested();
73 };
74 
75 #endif // EXPERT_INFO_DIALOG_H
Definition: capture_event.h:21
Definition: capture_file.h:21
Definition: expert_info_dialog.h:28
Definition: expert_info_model.h:68
Definition: expert_info_proxy_model.h:22
Definition: expert_info_view.h:19
Definition: wireshark_dialog.h:35
Definition: cfile.h:67