Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
bluetooth_hci_summary_dialog.h
Go to the documentation of this file.
1
9
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
35
36namespace Ui {
37class BluetoothHciSummaryDialog;
38}
39
44{
45 Q_OBJECT
46
47
48public:
55 explicit BluetoothHciSummaryDialog(QWidget &parent, CaptureFile &cf);
56
59
60public slots:
61
62signals:
66 void updateFilter(QString filter, bool force = false);
67
71
74 void goToPacket(int packet_num);
75
76protected:
79 void keyPressEvent(QKeyEvent *event) override;
80
82 void captureFileClosing() override;
83
85 void captureFileClosed() override;
86
87protected slots:
90 void changeEvent(QEvent* event) override;
91
92private:
93 Ui::BluetoothHciSummaryDialog *ui;
94
96 QMenu context_menu_;
97
98 QTreeWidgetItem *item_link_control_;
99 QTreeWidgetItem *item_link_policy_;
100 QTreeWidgetItem *item_controller_and_baseband_;
101 QTreeWidgetItem *item_informational_;
102 QTreeWidgetItem *item_status_parameters_;
103 QTreeWidgetItem *item_testing_;
104 QTreeWidgetItem *item_low_energy_;
105 QTreeWidgetItem *item_logo_testing_;
106 QTreeWidgetItem *item_vendor_;
107 QTreeWidgetItem *item_unknown_ogf_;
108 QTreeWidgetItem *item_events_;
109 QTreeWidgetItem *item_status_;
110 QTreeWidgetItem *item_reason_;
111 QTreeWidgetItem *item_hardware_errors_;
112
115 static void tapReset(void *tapinfo_ptr);
116
123 static tap_packet_status tapPacket(void *tapinfo_ptr, packet_info *pinfo, epan_dissect_t *, const void *data, tap_flags_t flags);
124
125
126private slots:
131 void recursiveCopyTreeItems(QTreeWidgetItem *item, QString &copy, int ident_level);
132
135 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
136
139 void on_buttonBox_clicked(QAbstractButton *button);
140
142 void on_actionMark_Unmark_Cell_triggered();
143
145 void on_actionMark_Unmark_Row_triggered();
146
148 void on_actionCopy_Cell_triggered();
149
151 void on_actionCopy_Rows_triggered();
152
154 void on_actionCopy_All_triggered();
155
157 void on_actionSave_as_image_triggered();
158
161 void tableContextMenu(const QPoint &pos);
162
165 void tableItemExpanded(QTreeWidgetItem *item);
166
169 void tableItemCollapsed(QTreeWidgetItem *item);
170
173 void interfaceCurrentIndexChanged(int index);
174
177 void adapterCurrentIndexChanged(int index);
178
180 void displayFilterLineEditAccepted();
181
184 void resultsFilterLineEditChanged(const QString &text);
185};
186
187#endif // BLUETOOTH_HCI_SUMMARY_DIALOG_H
struct _bluetooth_hci_summary_tapinfo_t bluetooth_hci_summary_tapinfo_t
Registers the tap callbacks and UI context for the Bluetooth HCI summary tap.
struct _capture_file capture_file
Represents a capture file and its associated metadata.
void keyPressEvent(QKeyEvent *event) override
Handle key press events.
Definition bluetooth_hci_summary_dialog.cpp:186
~BluetoothHciSummaryDialog()
Destroy the BluetoothHciSummaryDialog.
Definition bluetooth_hci_summary_dialog.cpp:144
void changeEvent(QEvent *event) override
Handle change events such as language changes.
Definition bluetooth_hci_summary_dialog.cpp:169
BluetoothHciSummaryDialog(QWidget &parent, CaptureFile &cf)
Construct a BluetoothHciSummaryDialog.
Definition bluetooth_hci_summary_dialog.cpp:87
void captureFileClosed() override
Handle capture file closed.
Definition bluetooth_hci_summary_dialog.cpp:160
void captureFileClosing() override
Handle capture file closing.
Definition bluetooth_hci_summary_dialog.cpp:152
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 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.
Registers the tap callbacks and UI context for the Bluetooth HCI summary tap.
Definition bluetooth_hci_summary_dialog.h:30
void * ui
Definition bluetooth_hci_summary_dialog.h:33
tap_reset_cb tap_reset
Definition bluetooth_hci_summary_dialog.h:31
tap_packet_cb tap_packet
Definition bluetooth_hci_summary_dialog.h:32
tap_packet_status
Definition tap.h:22