Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
bluetooth_devices_dialog.h
Go to the documentation of this file.
1
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 {
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);
92
98 void captureFileClosed();
99
100protected slots:
105 void changeEvent(QEvent* event);
106
107private:
108 Ui::BluetoothDevicesDialog *ui;
109 PacketList *packet_list_;
112 QMenu context_menu_;
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.
A dialog that displays Bluetooth device information from a live or saved capture.
Definition bluetooth_devices_dialog.h:48
void keyPressEvent(QKeyEvent *event)
Handle key press events.
Definition bluetooth_devices_dialog.cpp:149
void updateFilter(QString filter, bool force=false)
Emitted when the display filter should be updated.
void changeEvent(QEvent *event)
Handle change events such as language or palette changes.
Definition bluetooth_devices_dialog.cpp:132
void goToPacket(int packet_num)
Emitted when the packet list should navigate to a specific packet.
void captureFileClosed()
Called when the associated capture file is closed.
Definition bluetooth_devices_dialog.cpp:123
void captureFileChanged(capture_file *cf)
Emitted when the underlying capture file has changed.
~BluetoothDevicesDialog()
Destroy the BluetoothDevicesDialog.
Definition bluetooth_devices_dialog.cpp:117
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
Base class for Wireshark specific dialogs that require interaction with a CaptureFile.
Definition wireshark_dialog.h:38
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
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
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