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 SUPPORTED_PROTOCOLS_DIALOG_H
11 #define SUPPORTED_PROTOCOLS_DIALOG_H
13 #include "geometry_state_dialog.h"
14 #include <ui/qt/models/supported_protocols_model.h>
17 class SupportedProtocolsDialog
;
20 class SupportedProtocolsDialog
: public GeometryStateDialog
25 explicit SupportedProtocolsDialog(QWidget
*parent
= 0);
26 ~SupportedProtocolsDialog();
29 Ui::SupportedProtocolsDialog
*ui
;
31 SupportedProtocolsModel
* supported_protocols_model_
;
32 SupportedProtocolsProxyModel
* proxyModel_
;
33 QTimer
*searchLineEditTimer
;
34 QString searchLineEditText
;
36 void updateStatistics();
42 * Update search results from the searchLineEdit field
44 * This is performed separately from on_searchLineEdit_textChanged
45 * to support debouncing.
47 void updateSearchLineEdit();
48 void on_searchLineEdit_textChanged(const QString
&search_re
);
51 #endif // SUPPORTED_PROTOCOLS_DIALOG_H