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
22class QAbstractButton;
23class QPushButton;
24class QTreeWidgetItem;
25
29typedef struct _tapinfo_t {
30 tap_reset_cb tap_reset;
31 tap_packet_cb tap_packet;
32 void *ui;
34
35namespace Ui {
36class BluetoothAttServerAttributesDialog;
37}
38
39class QTreeWidgetItem;
44{
45 Q_OBJECT
46
47public:
53 explicit BluetoothAttServerAttributesDialog(QWidget &parent, CaptureFile &cf);
54
57
58public slots:
59
60signals:
66 void updateFilter(QString filter, bool force = false);
67
73
78 void goToPacket(int packet_num);
79
80
81protected:
86 void keyPressEvent(QKeyEvent *event) override;
87
91 void captureFileClosed() override;
92
93
94protected slots:
99 void changeEvent(QEvent *event) override;
100
101private:
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
127private 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
struct _tapinfo_t tapinfo_t
Bundles the callbacks and UI context required to drive a generic tap listener.
struct _capture_file capture_file
Represents a capture file and its associated metadata.
~BluetoothAttServerAttributesDialog()
Destructor.
Definition bluetooth_att_server_attributes_dialog.cpp:117
void keyPressEvent(QKeyEvent *event) override
Handle key press events.
Definition bluetooth_att_server_attributes_dialog.cpp:150
void captureFileChanged(capture_file *cf)
Emitted when the underlying capture file has changed.
void changeEvent(QEvent *event) override
Handle change events such as language or palette changes.
Definition bluetooth_att_server_attributes_dialog.cpp:133
void captureFileClosed() override
Called when the associated capture file is closed.
Definition bluetooth_att_server_attributes_dialog.cpp:123
void goToPacket(int packet_num)
Emitted when the packet list should navigate to a specific packet.
BluetoothAttServerAttributesDialog(QWidget &parent, CaptureFile &cf)
Construct a BluetoothAttServerAttributesDialog.
Definition bluetooth_att_server_attributes_dialog.cpp:72
void updateFilter(QString filter, bool force=false)
Emitted when the display filter should be updated.
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
WiresharkDialog(QWidget &parent, CaptureFile &capture_file)
Constructs a new WiresharkDialog object.
Definition wireshark_dialog.cpp:30
struct epan_dissect epan_dissect_t
Opaque type representing a single packet dissection context.
Definition epan.h:62
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
Bundles the callbacks and UI context required to drive a generic tap listener.
Definition bluetooth_att_server_attributes_dialog.h:29
tap_reset_cb tap_reset
Definition bluetooth_att_server_attributes_dialog.h:30
void * ui
Definition bluetooth_att_server_attributes_dialog.h:32
tap_packet_cb tap_packet
Definition bluetooth_att_server_attributes_dialog.h:31
tap_packet_status
Definition tap.h:22