Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
bluetooth_att_server_attributes_dialog.h
Go to the documentation of this file.
1
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
26typedef struct _tapinfo_t {
27 tap_reset_cb tap_reset;
28 tap_packet_cb tap_packet;
29 void *ui;
30} tapinfo_t;
31
32namespace Ui {
34}
35
36class QTreeWidgetItem;
41{
42 Q_OBJECT
43
44public:
50 explicit BluetoothAttServerAttributesDialog(QWidget &parent, CaptureFile &cf);
51
54
55public slots:
56
57signals:
63 void updateFilter(QString filter, bool force = false);
64
70
75 void goToPacket(int packet_num);
76
77
78protected:
83 void keyPressEvent(QKeyEvent *event);
84
88 void captureFileClosed();
89
90
91protected slots:
96 void changeEvent(QEvent *event);
97
98private:
99 Ui::BluetoothAttServerAttributesDialog *ui;
100
101 tapinfo_t tapinfo_;
102 QMenu context_menu_;
108 static void tapReset(void *tapinfo_ptr);
109
120 static tap_packet_status tapPacket(void *tapinfo_ptr, packet_info *pinfo,
121 epan_dissect_t *, const void *data,
122 tap_flags_t flags);
123
124private slots:
129 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
130
135 void on_buttonBox_clicked(QAbstractButton *button);
136
138 void on_actionMark_Unmark_Cell_triggered();
139
141 void on_actionMark_Unmark_Row_triggered();
142
144 void on_actionCopy_Cell_triggered();
145
147 void on_actionCopy_Rows_triggered();
148
150 void on_actionCopy_All_triggered();
151
153 void on_actionSave_as_image_triggered();
154
159 void tableContextMenu(const QPoint &pos);
160
165 void interfaceCurrentIndexChanged(int index);
166
171 void deviceCurrentIndexChanged(int index);
172
173#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
179 void removeDuplicatesStateChanged(Qt::CheckState state);
180#else
187 void removeDuplicatesStateChanged(int state);
188#endif
189};
190
191#endif // BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
A dialog that displays ATT server attribute data from a Bluetooth capture.
Definition bluetooth_att_server_attributes_dialog.h:41
~BluetoothAttServerAttributesDialog()
Destructor.
Definition bluetooth_att_server_attributes_dialog.cpp:117
void captureFileClosed()
Called when the associated capture file is closed.
Definition bluetooth_att_server_attributes_dialog.cpp:123
void keyPressEvent(QKeyEvent *event)
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 goToPacket(int packet_num)
Emitted when the packet list should navigate to a specific packet.
void changeEvent(QEvent *event)
Handle change events such as language or palette changes.
Definition bluetooth_att_server_attributes_dialog.cpp:133
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
Base class for Wireshark specific dialogs that require interaction with a CaptureFile.
Definition wireshark_dialog.h:38
Represents a capture file and its associated metadata.
Definition cfile.h:84
Represents the metadata and indexing information for a single captured frame.
Definition packet_info.h:43
Definition bluetooth_att_server_attributes_dialog.h:26
Holds all state for the dissection of a single byte array, including session, buffer,...
Definition epan_dissect.h:28
tap_packet_status
Definition tap.h:22