Wireshark 4.5.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 ByteViewTab;
22class ProtoTree;
23
24namespace Ui {
25class PacketDialog;
26}
27
29{
30 Q_OBJECT
31
32public:
33 explicit PacketDialog(QWidget &parent, CaptureFile &cf, frame_data *fdata);
35
36protected:
37 void captureFileClosing();
38
39signals:
40 void showProtocolPreferences(const QString module_name);
41 void editProtocolPreference(struct preference *pref, struct pref_module *module);
42
43private slots:
44 void on_buttonBox_helpRequested();
45#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
46 void viewVisibilityStateChanged(Qt::CheckState);
47#else
48 void viewVisibilityStateChanged(int);
49#endif
50 void layoutChanged(int);
51
52 void setHintText(FieldInformation *);
53 void setHintTextSelected(FieldInformation*);
54
55private:
56 Ui::PacketDialog *ui;
57
58 pref_t *pref_packet_dialog_layout_;
59 QString col_info_;
60 ProtoTree *proto_tree_;
61 ByteViewTab *byte_view_tab_;
62 wtap_rec rec_;
63 Buffer buf_;
64 epan_dissect_t edt_;
65};
66
67#endif // PACKET_DIALOG_H
Definition byte_view_tab.h:29
Definition capture_file.h:21
Definition field_information.h:23
Definition packet_dialog.h:29
void captureFileClosing()
Called when the capture file is about to close. This can be used to disconnect taps and similar actio...
Definition packet_dialog.cpp:179
Definition proto_tree.h:27
Definition wireshark_dialog.h:35
Definition buffer.h:22
Definition epan_dissect.h:28
Definition prefs-int.h:27
Definition prefs.c:248
Definition wtap.h:1432