Wireshark 4.5.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 "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
38{
39 Q_OBJECT
40
41public:
42 explicit BluetoothHciSummaryDialog(QWidget &parent, CaptureFile &cf);
44
45public slots:
46
47signals:
48 void updateFilter(QString filter, bool force = false);
49 void captureFileChanged(capture_file *cf);
50 void goToPacket(int packet_num);
51
52protected:
53 void keyPressEvent(QKeyEvent *event);
54 void captureFileClosing();
55 void captureFileClosed();
56
57protected slots:
58 void changeEvent(QEvent* event);
59
60private:
61 Ui::BluetoothHciSummaryDialog *ui;
62
64 QMenu context_menu_;
65
66 QTreeWidgetItem *item_link_control_;
67 QTreeWidgetItem *item_link_policy_;
68 QTreeWidgetItem *item_controller_and_baseband_;
69 QTreeWidgetItem *item_informational_;
70 QTreeWidgetItem *item_status_parameters_;
71 QTreeWidgetItem *item_testing_;
72 QTreeWidgetItem *item_low_energy_;
73 QTreeWidgetItem *item_logo_testing_;
74 QTreeWidgetItem *item_vendor_;
75 QTreeWidgetItem *item_unknown_ogf_;
76 QTreeWidgetItem *item_events_;
77 QTreeWidgetItem *item_status_;
78 QTreeWidgetItem *item_reason_;
79 QTreeWidgetItem *item_hardware_errors_;
80
81 static void tapReset(void *tapinfo_ptr);
82 static tap_packet_status tapPacket(void *tapinfo_ptr, packet_info *pinfo, epan_dissect_t *, const void *data, tap_flags_t flags);
83
84private slots:
85 void recursiveCopyTreeItems(QTreeWidgetItem *item, QString &copy, int ident_level);
86 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
87 void on_buttonBox_clicked(QAbstractButton *button);
88 void on_actionMark_Unmark_Cell_triggered();
89 void on_actionMark_Unmark_Row_triggered();
90 void on_actionCopy_Cell_triggered();
91 void on_actionCopy_Rows_triggered();
92 void on_actionCopy_All_triggered();
93 void on_actionSave_as_image_triggered();
94 void tableContextMenu(const QPoint &pos);
95 void tableItemExpanded(QTreeWidgetItem *item);
96 void tableItemCollapsed(QTreeWidgetItem *item);
97 void interfaceCurrentIndexChanged(int index);
98 void adapterCurrentIndexChanged(int index);
99 void displayFilterLineEditAccepted();
100 void resultsFilterLineEditChanged(const QString &text);
101};
102
103#endif // BLUETOOTH_HCI_SUMMARY_DIALOG_H
Definition bluetooth_hci_summary_dialog.h:38
void captureFileClosing()
Called when the capture file is about to close. This can be used to disconnect taps and similar actio...
Definition bluetooth_hci_summary_dialog.cpp:150
void captureFileClosed()
Called when the capture file was closed. This can be used to enable or disable widgets according to t...
Definition bluetooth_hci_summary_dialog.cpp:158
Definition capture_file.h:21
Definition wireshark_dialog.h:35
Definition bluetooth_hci_summary_dialog.h:27
Definition cfile.h:67
Definition packet_info.h:43
Definition epan_dissect.h:28
tap_packet_status
Definition tap.h:25