| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
expert_info_dialog.h
Go to the documentation of this file.
1
9
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"
17#include <ui/qt/models/expert_info_model.h>
18#include <ui/qt/models/expert_info_proxy_model.h>
19#include <ui/qt/widgets/expert_info_view.h>
20
21#include <QMenu>
22
23 namespace Ui {
24 class ExpertInfoDialog;
25}
26
30 class ExpertInfoDialog : public WiresharkDialog
31{
32 Q_OBJECT
33
34 public:
41 explicit ExpertInfoDialog(QWidget &parent, CaptureFile& capture_file, QString displayFilter);
42
46 ~ExpertInfoDialog();
47
51 void clearAllData();
52
57 ExpertInfoTreeView* getExpertInfoView();
58
59signals:
66 void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
67
68 private:
70 Ui::ExpertInfoDialog *ui;
71
73 ExpertInfoModel* expert_info_model_;
74
76 ExpertInfoProxyModel* proxyModel_;
77
79 QMenu ctx_menu_;
80
82 QString display_filter_;
83
84 private slots:
88 void retapPackets();
89
94 void captureEvent(CaptureEvent e);
95
99 void updateWidgets() override;
100
105 void on_actionShowError_toggled(bool checked);
106
111 void on_actionShowWarning_toggled(bool checked);
112
117 void on_actionShowNote_toggled(bool checked);
118
123 void on_actionShowChat_toggled(bool checked);
124
129 void on_actionShowComment_toggled(bool checked);
130
135 void showExpertInfoMenu(QPoint pos);
136
140 void filterActionTriggered();
141
145 void collapseTree();
146
150 void expandTree();
151
155 void limitCheckBoxToggled(bool);
156
160 void on_groupBySummaryCheckBox_toggled(bool);
161
166 void on_searchLineEdit_textChanged(const QString &search_re);
167
171 void on_buttonBox_helpRequested();
172};
173
174#endif // EXPERT_INFO_DIALOG_H
capture_file
struct _capture_file capture_file
Represents a capture file and its associated metadata.
CaptureEvent
Represents an event occurring during a capture or file operation.
Definition capture_event.h:24
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
ExpertInfoDialog::clearAllData
void clearAllData()
Clears all currently displayed expert information data.
Definition expert_info_dialog.cpp:125
ExpertInfoDialog::getExpertInfoView
ExpertInfoTreeView * getExpertInfoView()
Retrieves the tree view widget used to display expert information.
Definition expert_info_dialog.cpp:130
ExpertInfoDialog::filterAction
void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type)
Signal emitted to trigger a display filter action.
ExpertInfoDialog::~ExpertInfoDialog
~ExpertInfoDialog()
Destroys the ExpertInfoDialog.
Definition expert_info_dialog.cpp:118
ExpertInfoDialog::ExpertInfoDialog
ExpertInfoDialog(QWidget &parent, CaptureFile &capture_file, QString displayFilter)
Constructs a new ExpertInfoDialog.
Definition expert_info_dialog.cpp:37
ExpertInfoModel
A model managing the expert information tree data.
Definition expert_info_model.h:188
ExpertInfoProxyModel
A proxy model used for sorting and filtering expert information data.
Definition expert_info_proxy_model.h:25
ExpertInfoTreeView
A custom tree view for displaying expert information.
Definition expert_info_view.h:22
FilterAction::Action
Action
Defines an action to be taken with a filter.
Definition filter_action.h:30
FilterAction::ActionType
ActionType
Defines how the new filter should be combined with the existing one.
Definition filter_action.h:43
WiresharkDialog::updateWidgets
virtual void updateWidgets()
Updates the state and contents of the dialog's widgets.
Definition wireshark_dialog.cpp:92
WiresharkDialog::WiresharkDialog
WiresharkDialog(QWidget &parent, CaptureFile &capture_file)
Constructs a new WiresharkDialog object.
Definition wireshark_dialog.cpp:30
expert_info_model.h
expert_info_proxy_model.h
expert_info_view.h
filter_action.h
wireshark_dialog.h