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 <glib.h>
16 
17 #include "filter_action.h"
18 #include "wireshark_dialog.h"
22 
23 #include <QMenu>
24 
25 namespace Ui {
26 class ExpertInfoDialog;
27 }
28 
30 {
31  Q_OBJECT
32 
33 public:
34  explicit ExpertInfoDialog(QWidget &parent, CaptureFile& capture_file, QString displayFilter);
36 
37  void clearAllData();
38 
39  ExpertInfoTreeView* getExpertInfoView();
40 
41 signals:
42  void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
43 
44 private:
45  Ui::ExpertInfoDialog *ui;
46 
47  ExpertInfoModel* expert_info_model_;
48  ExpertInfoProxyModel* proxyModel_;
49 
50  QMenu ctx_menu_;
51 
52  QString display_filter_;
53 
54 private slots:
55  void retapPackets();
56  void captureEvent(CaptureEvent e);
57 
58  void updateWidgets();
59 
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);
65 
66  void showExpertInfoMenu(QPoint pos);
67  void filterActionTriggered();
68  void collapseTree();
69  void expandTree();
70 
71  void limitCheckBoxToggled(bool);
72  void on_groupBySummaryCheckBox_toggled(bool);
73  void on_searchLineEdit_textChanged(const QString &search_re);
74  void on_buttonBox_helpRequested();
75 };
76 
77 #endif // EXPERT_INFO_DIALOG_H
Definition: capture_event.h:20
Definition: capture_file.h:23
Definition: expert_info_dialog.h:30
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