Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
bluetooth_hci_summary_dialog.h
Go to the documentation of this file.
1
10#ifndef BLUETOOTH_HCI_SUMMARY_DIALOG_H
11#define BLUETOOTH_HCI_SUMMARY_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
28 tap_reset_cb tap_reset;
29 tap_packet_cb tap_packet;
30 void *ui;
32
33namespace Ui {
35}
36
41{
42 Q_OBJECT
43
44
45public:
52 explicit BluetoothHciSummaryDialog(QWidget &parent, CaptureFile &cf);
53
56
57public slots:
58
59signals:
63 void updateFilter(QString filter, bool force = false);
64
68
71 void goToPacket(int packet_num);
72
73protected:
76 void keyPressEvent(QKeyEvent *event);
77
79 void captureFileClosing();
80
82 void captureFileClosed();
83
84protected slots:
87 void changeEvent(QEvent* event);
88
89private:
90 Ui::BluetoothHciSummaryDialog *ui;
91
93 QMenu context_menu_;
95 QTreeWidgetItem *item_link_control_;
96 QTreeWidgetItem *item_link_policy_;
97 QTreeWidgetItem *item_controller_and_baseband_;
98 QTreeWidgetItem *item_informational_;
99 QTreeWidgetItem *item_status_parameters_;
100 QTreeWidgetItem *item_testing_;
101 QTreeWidgetItem *item_low_energy_;
102 QTreeWidgetItem *item_logo_testing_;
103 QTreeWidgetItem *item_vendor_;
104 QTreeWidgetItem *item_unknown_ogf_;
105 QTreeWidgetItem *item_events_;
106 QTreeWidgetItem *item_status_;
107 QTreeWidgetItem *item_reason_;
108 QTreeWidgetItem *item_hardware_errors_;
112 static void tapReset(void *tapinfo_ptr);
113
120 static tap_packet_status tapPacket(void *tapinfo_ptr, packet_info *pinfo, epan_dissect_t *, const void *data, tap_flags_t flags);
121
122
123private slots:
128 void recursiveCopyTreeItems(QTreeWidgetItem *item, QString &copy, int ident_level);
129
132 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
133
136 void on_buttonBox_clicked(QAbstractButton *button);
137
139 void on_actionMark_Unmark_Cell_triggered();
140
142 void on_actionMark_Unmark_Row_triggered();
143
145 void on_actionCopy_Cell_triggered();
146
148 void on_actionCopy_Rows_triggered();
149
151 void on_actionCopy_All_triggered();
152
154 void on_actionSave_as_image_triggered();
155
158 void tableContextMenu(const QPoint &pos);
159
162 void tableItemExpanded(QTreeWidgetItem *item);
163
166 void tableItemCollapsed(QTreeWidgetItem *item);
167
170 void interfaceCurrentIndexChanged(int index);
171
174 void adapterCurrentIndexChanged(int index);
175
177 void displayFilterLineEditAccepted();
178
181 void resultsFilterLineEditChanged(const QString &text);
182};
183
184#endif // BLUETOOTH_HCI_SUMMARY_DIALOG_H
Dialog displaying a summary of Bluetooth HCI traffic.
Definition bluetooth_hci_summary_dialog.h:41
~BluetoothHciSummaryDialog()
Destroy the BluetoothHciSummaryDialog.
Definition bluetooth_hci_summary_dialog.cpp:149
void captureFileClosing()
Handle capture file closing.
Definition bluetooth_hci_summary_dialog.cpp:157
void changeEvent(QEvent *event)
Handle change events such as language changes.
Definition bluetooth_hci_summary_dialog.cpp:174
void goToPacket(int packet_num)
Emitted when the view should navigate to a specific packet.
void captureFileChanged(capture_file *cf)
Emitted when the capture file changes.
void captureFileClosed()
Handle capture file closed.
Definition bluetooth_hci_summary_dialog.cpp:165
void updateFilter(QString filter, bool force=false)
Emitted when the display filter should be updated.
void keyPressEvent(QKeyEvent *event)
Handle key press events.
Definition bluetooth_hci_summary_dialog.cpp:191
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
Definition bluetooth_hci_summary_dialog.h:27
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