| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
bluetooth_att_server_attributes_dialog.h
Go to the documentation of this file.
1
9
10#ifndef BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
11#define BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
12
13#include <config.h>
14
15#include "wireshark_dialog.h"
16#include <epan/cfile.h>
17
18#include "epan/tap.h"
19
20#include <QMenu>
21
22 class QAbstractButton;
23 class QPushButton;
24 class QTreeWidgetItem;
25
29 typedef struct _tapinfo_t {
30 tap_reset_cb tap_reset;
31 tap_packet_cb tap_packet;
32 void *ui;
33} tapinfo_t;
34
35 namespace Ui {
36 class BluetoothAttServerAttributesDialog;
37}
38
39 class QTreeWidgetItem;
43 class BluetoothAttServerAttributesDialog : public WiresharkDialog
44{
45 Q_OBJECT
46
47 public:
53 explicit BluetoothAttServerAttributesDialog(QWidget &parent, CaptureFile &cf);
54
56 ~BluetoothAttServerAttributesDialog();
57
58 public slots:
59
60signals:
66 void updateFilter(QString filter, bool force = false);
67
72 void captureFileChanged(capture_file *cf);
73
78 void goToPacket(int packet_num);
79
80
81 protected:
86 void keyPressEvent(QKeyEvent *event) override;
87
91 void captureFileClosed() override;
92
93
94 protected slots:
99 void changeEvent(QEvent *event) override;
100
101 private:
102 Ui::BluetoothAttServerAttributesDialog *ui;
103
104 tapinfo_t tapinfo_;
105 QMenu context_menu_;
106
111 static void tapReset(void *tapinfo_ptr);
112
123 static tap_packet_status tapPacket(void *tapinfo_ptr, packet_info *pinfo,
124 epan_dissect_t *, const void *data,
125 tap_flags_t flags);
126
127 private slots:
132 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
133
138 void on_buttonBox_clicked(QAbstractButton *button);
139
141 void on_actionMark_Unmark_Cell_triggered();
142
144 void on_actionMark_Unmark_Row_triggered();
145
147 void on_actionCopy_Cell_triggered();
148
150 void on_actionCopy_Rows_triggered();
151
153 void on_actionCopy_All_triggered();
154
156 void on_actionSave_as_image_triggered();
157
162 void tableContextMenu(const QPoint &pos);
163
168 void interfaceCurrentIndexChanged(int index);
169
174 void deviceCurrentIndexChanged(int index);
175
176#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
182 void removeDuplicatesStateChanged(Qt::CheckState state);
183#else
190 void removeDuplicatesStateChanged(int state);
191#endif
192};
193
194#endif // BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
tapinfo_t
struct _tapinfo_t tapinfo_t
Bundles the callbacks and UI context required to drive a generic tap listener.
cfile.h
capture_file
struct _capture_file capture_file
Represents a capture file and its associated metadata.
BluetoothAttServerAttributesDialog::~BluetoothAttServerAttributesDialog
~BluetoothAttServerAttributesDialog()
Destructor.
Definition bluetooth_att_server_attributes_dialog.cpp:117
BluetoothAttServerAttributesDialog::keyPressEvent
void keyPressEvent(QKeyEvent *event) override
Handle key press events.
Definition bluetooth_att_server_attributes_dialog.cpp:150
BluetoothAttServerAttributesDialog::captureFileChanged
void captureFileChanged(capture_file *cf)
Emitted when the underlying capture file has changed.
BluetoothAttServerAttributesDialog::changeEvent
void changeEvent(QEvent *event) override
Handle change events such as language or palette changes.
Definition bluetooth_att_server_attributes_dialog.cpp:133
BluetoothAttServerAttributesDialog::captureFileClosed
void captureFileClosed() override
Called when the associated capture file is closed.
Definition bluetooth_att_server_attributes_dialog.cpp:123
BluetoothAttServerAttributesDialog::goToPacket
void goToPacket(int packet_num)
Emitted when the packet list should navigate to a specific packet.
BluetoothAttServerAttributesDialog::BluetoothAttServerAttributesDialog
BluetoothAttServerAttributesDialog(QWidget &parent, CaptureFile &cf)
Construct a BluetoothAttServerAttributesDialog.
Definition bluetooth_att_server_attributes_dialog.cpp:72
BluetoothAttServerAttributesDialog::updateFilter
void updateFilter(QString filter, bool force=false)
Emitted when the display filter should be updated.
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
WiresharkDialog::WiresharkDialog
WiresharkDialog(QWidget &parent, CaptureFile &capture_file)
Constructs a new WiresharkDialog object.
Definition wireshark_dialog.cpp:30
epan_dissect_t
struct epan_dissect epan_dissect_t
Opaque type representing a single packet dissection context.
Definition epan.h:62
packet_info
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
_tapinfo_t
Bundles the callbacks and UI context required to drive a generic tap listener.
Definition bluetooth_att_server_attributes_dialog.h:29
_tapinfo_t::tap_reset
tap_reset_cb tap_reset
Definition bluetooth_att_server_attributes_dialog.h:30
_tapinfo_t::ui
void * ui
Definition bluetooth_att_server_attributes_dialog.h:32
_tapinfo_t::tap_packet
tap_packet_cb tap_packet
Definition bluetooth_att_server_attributes_dialog.h:31
tap.h
tap_packet_status
tap_packet_status
Definition tap.h:22
wireshark_dialog.h