Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet_dialog.h
Go to the documentation of this file.
1
10#ifndef PACKET_DIALOG_H
11#define PACKET_DIALOG_H
12
13#include "wireshark_dialog.h"
14
15#include "epan/epan_dissect.h"
16#include "wiretap/wtap.h"
17#include "wsutil/buffer.h"
18
20
21class DataSourceTab;
22class InPacketFindBar;
23class ProtoTree;
24
25namespace Ui {
26class PacketDialog;
27}
28
33{
34 Q_OBJECT
35
36public:
43 explicit PacketDialog(QWidget &parent, CaptureFile &cf, frame_data *fdata);
44
49
50protected:
54 void captureFileClosing();
55
56signals:
61 void showProtocolPreferences(const QString module_name);
62
69
70private slots:
74 void on_buttonBox_helpRequested();
75
76#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
81 void viewVisibilityStateChanged(Qt::CheckState state);
82#else
87 void viewVisibilityStateChanged(int state);
88#endif
89
93 void layoutChanged(int);
94
99 void setHintText(FieldInformation *finfo);
100
105 void setHintTextSelected(FieldInformation *finfo);
106
107private:
109 Ui::PacketDialog *ui;
110
112 pref_t *pref_packet_dialog_layout_;
113
115 QString col_info_;
116
118 ProtoTree *proto_tree_;
119
121 InPacketFindBar *in_packet_find_bar_;
122
124 DataSourceTab *data_source_tab_;
125
127 wtap_rec rec_;
128
130 epan_dissect_t edt_;
131};
132
133#endif // PACKET_DIALOG_H
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
A tab widget that manages and displays different data sources for a packet (e.g., Hex,...
Definition data_source_tab.h:36
Represents information about a dissected packet field.
Definition field_information.h:26
Find bar widget for searching within a specific packet's protocol tree.
Definition in_packet_find_bar.h:28
Dialog for displaying details of a specific packet.
Definition packet_dialog.h:33
void showProtocolPreferences(const QString module_name)
Signal emitted to show preferences for a protocol.
void editProtocolPreference(pref_t *pref, module_t *module)
Signal emitted to edit a specific protocol preference.
void captureFileClosing()
Handles the event when the capture file is closing.
Definition packet_dialog.cpp:203
~PacketDialog()
Destroys the PacketDialog object.
Definition packet_dialog.cpp:196
A tree view for displaying protocol dissection details.
Definition proto_tree.h:30
Base class for Wireshark specific dialogs that require interaction with a CaptureFile.
Definition wireshark_dialog.h:38
DIAG_OFF_PEDANTIC struct _frame_data frame_data
Frame data structure.
Holds all state for the dissection of a single byte array, including session, buffer,...
Definition epan_dissect.h:28
Represents a preference module grouping related preferences under a named, hierarchical entry in the ...
Definition prefs-int.h:27
Definition prefs.c:207
Definition wtap.h:1540