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 ENABLED_PROTOCOLS_DIALOG_H
11 #define ENABLED_PROTOCOLS_DIALOG_H
13 #include "geometry_state_dialog.h"
14 #include "wireshark_dialog.h"
15 #include <ui/qt/models/enabled_protocols_model.h>
18 class EnabledProtocolsDialog
;
21 class EnabledProtocolsDialog
: public GeometryStateDialog
26 explicit EnabledProtocolsDialog(QWidget
*parent
);
27 virtual ~EnabledProtocolsDialog();
30 void on_invert_button__clicked();
31 void on_enable_all_button__clicked();
32 void on_disable_all_button__clicked();
33 void on_search_line_edit__textChanged(const QString
&);
34 void on_cmbSearchType_currentIndexChanged(int);
35 void on_cmbProtocolType_currentIndexChanged(int);
36 void on_buttonBox_accepted();
37 void on_buttonBox_helpRequested();
41 Ui::EnabledProtocolsDialog
*ui
;
43 EnabledProtocolsModel
* enabled_protocols_model_
;
44 EnabledProtocolsProxyModel
* proxyModel_
;
46 void searchFilterChange();
49 #endif // ENABLED_PROTOCOLS_DIALOG_H