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"
20
21#include <QMenu>
22
23namespace Ui {
24class ExpertInfoDialog;
25}
26
31{
32 Q_OBJECT
33
34public:
41 explicit ExpertInfoDialog(QWidget &parent, CaptureFile& capture_file, QString displayFilter);
42
47
51 void clearAllData();
52
58
59signals:
67
68private:
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
84private 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
struct _capture_file capture_file
Represents a capture file and its associated metadata.
Represents an event occurring during a capture or file operation.
Definition capture_event.h:24
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
void clearAllData()
Clears all currently displayed expert information data.
Definition expert_info_dialog.cpp:125
ExpertInfoTreeView * getExpertInfoView()
Retrieves the tree view widget used to display expert information.
Definition expert_info_dialog.cpp:130
void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type)
Signal emitted to trigger a display filter action.
~ExpertInfoDialog()
Destroys the ExpertInfoDialog.
Definition expert_info_dialog.cpp:118
ExpertInfoDialog(QWidget &parent, CaptureFile &capture_file, QString displayFilter)
Constructs a new ExpertInfoDialog.
Definition expert_info_dialog.cpp:37
A model managing the expert information tree data.
Definition expert_info_model.h:188
A proxy model used for sorting and filtering expert information data.
Definition expert_info_proxy_model.h:25
A custom tree view for displaying expert information.
Definition expert_info_view.h:22
Action
Defines an action to be taken with a filter.
Definition filter_action.h:30
ActionType
Defines how the new filter should be combined with the existing one.
Definition filter_action.h:43
virtual void updateWidgets()
Updates the state and contents of the dialog's widgets.
Definition wireshark_dialog.cpp:92
WiresharkDialog(QWidget &parent, CaptureFile &capture_file)
Constructs a new WiresharkDialog object.
Definition wireshark_dialog.cpp:30