3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
11 #define BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H
15 #include "wireshark_dialog.h"
22 class QAbstractButton
;
24 class QTreeWidgetItem
;
26 typedef struct _tapinfo_t
{
27 tap_reset_cb tap_reset
;
28 tap_packet_cb tap_packet
;
33 class BluetoothAttServerAttributesDialog
;
36 class QTreeWidgetItem
;
37 class BluetoothAttServerAttributesDialog
: public WiresharkDialog
42 explicit BluetoothAttServerAttributesDialog(QWidget
&parent
, CaptureFile
&cf
);
43 ~BluetoothAttServerAttributesDialog();
48 void updateFilter(QString filter
, bool force
= false);
49 void captureFileChanged(capture_file
*cf
);
50 void goToPacket(int packet_num
);
53 void keyPressEvent(QKeyEvent
*event
);
54 void captureFileClosed();
57 void changeEvent(QEvent
* event
);
60 Ui::BluetoothAttServerAttributesDialog
*ui
;
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
);
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
);
83 void removeDuplicatesStateChanged(int state
);
87 #endif // BLUETOOTH_ATT_SERVER_ATTRIBUTES_DIALOG_H