Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
bluetooth_att_server_attributes_dialog.h
Go to the documentation of this file.
1
10#ifndef BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
11#define BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
12
13#include <config.h>
14
15#include "wireshark_dialog.h"
16#include "cfile.h"
17
18#include "epan/tap.h"
19
20#include <QMenu>
21
22class QAbstractButton;
23class QPushButton;
24class QTreeWidgetItem;
25
26typedef struct _tapinfo_t {
27 tap_reset_cb tap_reset;
28 tap_packet_cb tap_packet;
29 void *ui;
30} tapinfo_t;
31
32namespace Ui {
34}
35
36class QTreeWidgetItem;
38{
39 Q_OBJECT
40
41public:
42 explicit BluetoothAttServerAttributesDialog(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 captureFileClosed();
55
56protected slots:
57 void changeEvent(QEvent* event);
58
59private:
60 Ui::BluetoothAttServerAttributesDialog *ui;
61
62 tapinfo_t tapinfo_;
63 QMenu context_menu_;
64
65 static void tapReset(void *tapinfo_ptr);
66 static tap_packet_status tapPacket(void *tapinfo_ptr, packet_info *pinfo, epan_dissect_t *, const void *data, tap_flags_t flags);
67
68private slots:
69 void on_tableTreeWidget_itemActivated(QTreeWidgetItem *item, int);
70 void on_buttonBox_clicked(QAbstractButton *button);
71 void on_actionMark_Unmark_Cell_triggered();
72 void on_actionMark_Unmark_Row_triggered();
73 void on_actionCopy_Cell_triggered();
74 void on_actionCopy_Rows_triggered();
75 void on_actionCopy_All_triggered();
76 void on_actionSave_as_image_triggered();
77 void tableContextMenu(const QPoint &pos);
78 void interfaceCurrentIndexChanged(int index);
79 void deviceCurrentIndexChanged(int index);
80#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
81 void removeDuplicatesStateChanged(Qt::CheckState state);
82#else
83 void removeDuplicatesStateChanged(int state);
84#endif
85};
86
87#endif // BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
Definition bluetooth_att_server_attributes_dialog.h:38
void captureFileClosed()
Called when the capture file was closed. This can be used to enable or disable widgets according to t...
Definition bluetooth_att_server_attributes_dialog.cpp:121
Definition capture_file.h:21
Definition wireshark_dialog.h:35
Definition cfile.h:67
Definition packet_info.h:43
Definition bluetooth_att_server_attributes_dialog.h:26
Definition epan_dissect.h:28
tap_packet_status
Definition tap.h:25