2015-07-21 17:32:42 +00:00
|
|
|
/* enabled_protocols_dialog.h
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-04-30 07:47:58 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2015-07-21 17:32:42 +00:00
|
|
|
|
2015-08-18 17:36:04 +00:00
|
|
|
#ifndef ENABLED_PROTOCOLS_DIALOG_H
|
2015-07-21 17:32:42 +00:00
|
|
|
#define ENABLED_PROTOCOLS_DIALOG_H
|
|
|
|
|
2016-02-28 18:23:20 +00:00
|
|
|
#include "geometry_state_dialog.h"
|
2015-07-21 17:32:42 +00:00
|
|
|
#include "wireshark_dialog.h"
|
2017-12-17 02:51:33 +00:00
|
|
|
#include <ui/qt/models/enabled_protocols_model.h>
|
2015-07-21 17:32:42 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class EnabledProtocolsDialog;
|
|
|
|
}
|
|
|
|
|
2016-02-28 18:23:20 +00:00
|
|
|
class EnabledProtocolsDialog : public GeometryStateDialog
|
2015-07-21 17:32:42 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit EnabledProtocolsDialog(QWidget *parent);
|
2017-12-17 02:51:33 +00:00
|
|
|
virtual ~EnabledProtocolsDialog();
|
2015-07-21 17:32:42 +00:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
void on_invert_button__clicked();
|
|
|
|
void on_enable_all_button__clicked();
|
|
|
|
void on_disable_all_button__clicked();
|
2019-08-29 09:26:34 +00:00
|
|
|
void on_search_line_edit__textChanged(const QString &);
|
|
|
|
void on_cmbSearchType_currentIndexChanged(int);
|
2019-09-03 15:11:25 +00:00
|
|
|
void on_cmbProtocolType_currentIndexChanged(int);
|
2015-07-21 17:32:42 +00:00
|
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_helpRequested();
|
2017-12-17 02:51:33 +00:00
|
|
|
void fillTree();
|
2015-07-21 17:32:42 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::EnabledProtocolsDialog *ui;
|
|
|
|
|
2017-12-17 02:51:33 +00:00
|
|
|
EnabledProtocolsModel* enabled_protocols_model_;
|
|
|
|
EnabledProtocolsProxyModel* proxyModel_;
|
2019-08-29 09:26:34 +00:00
|
|
|
|
|
|
|
void searchFilterChange();
|
2015-07-21 17:32:42 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ENABLED_PROTOCOLS_DIALOG_H
|