Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
bluetooth_devices_dialog.h
Go to the documentation of this file.
1
9
10#ifndef BLUETOOTH_DEVICES_DIALOG_H
11#define BLUETOOTH_DEVICES_DIALOG_H
12
13#include "config.h"
14
15#include "wireshark_dialog.h"
16#include <epan/cfile.h>
17#include "packet_list.h"
18
19#include "epan/tap.h"
20
21#include <QMenu>
22
23class QAbstractButton;
24class QPushButton;
25class QTreeWidgetItem;
26
38
39namespace Ui {
40class BluetoothDevicesDialog;
41}
42
48{
49 Q_OBJECT
50
51public:
58 explicit BluetoothDevicesDialog(QWidget &parent, CaptureFile &cf, PacketList *packet_list);
61
62public slots:
63
64signals:
70 void updateFilter(QString filter, bool force = false);
71
77
82 void goToPacket(int packet_num);
83
84protected:
91 void keyPressEvent(QKeyEvent *event) override;
92
98 void captureFileClosed() override;
99
100protected slots:
105 void changeEvent(QEvent* event) override;
106
107private:
108 Ui::BluetoothDevicesDialog *ui;
109 PacketList *packet_list_;
110
112 QMenu context_menu_;
113
120 static void tapReset(void *tapinfo_ptr);
121
136 static tap_packet_status tapPacket(void *tapinfo_ptr, packet_info *pinfo, epan_dissect_t *, const void *data, tap_flags_t flags);
137
138private slots:
143 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
144
149 void on_buttonBox_clicked(QAbstractButton *button);
150
152 void on_actionMark_Unmark_Cell_triggered();
153
155 void on_actionMark_Unmark_Row_triggered();
156
158 void on_actionCopy_Cell_triggered();
159
161 void on_actionCopy_Rows_triggered();
162
164 void on_actionCopy_All_triggered();
165
167 void on_actionSave_as_image_triggered();
168
173 void tableContextMenu(const QPoint &pos);
174
180 void tableItemDoubleClicked(QTreeWidgetItem *item, int column);
181
186 void interfaceCurrentIndexChanged(int index);
187
193 void showInformationStepsChanged(int state);
194};
195
196#endif // BLUETOOTH_DEVICES_DIALOG_H
struct _bluetooth_devices_tapinfo_t bluetooth_devices_tapinfo_t
Tap info block driving the Bluetooth Devices dialog's live packet feed.
struct _capture_file capture_file
Represents a capture file and its associated metadata.
BluetoothDevicesDialog(QWidget &parent, CaptureFile &cf, PacketList *packet_list)
Construct a BluetoothDevicesDialog.
Definition bluetooth_devices_dialog.cpp:65
void updateFilter(QString filter, bool force=false)
Emitted when the display filter should be updated.
void captureFileClosed() override
Called when the associated capture file is closed.
Definition bluetooth_devices_dialog.cpp:119
void changeEvent(QEvent *event) override
Handle change events such as language or palette changes.
Definition bluetooth_devices_dialog.cpp:128
void keyPressEvent(QKeyEvent *event) override
Handle key press events.
Definition bluetooth_devices_dialog.cpp:145
void goToPacket(int packet_num)
Emitted when the packet list should navigate to a specific packet.
void captureFileChanged(capture_file *cf)
Emitted when the underlying capture file has changed.
~BluetoothDevicesDialog()
Destroy the BluetoothDevicesDialog.
Definition bluetooth_devices_dialog.cpp:113
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
The main packet list view for displaying captured packets.
Definition packet_list.h:45
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.
Tap info block driving the Bluetooth Devices dialog's live packet feed.
Definition bluetooth_devices_dialog.h:33
tap_packet_cb tap_packet
Definition bluetooth_devices_dialog.h:35
tap_reset_cb tap_reset
Definition bluetooth_devices_dialog.h:34
void * ui
Definition bluetooth_devices_dialog.h:36
tap_packet_status
Definition tap.h:22