2015-07-09 23:00:14 +00:00
|
|
|
/* resolved_addresses_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-09 23:00:14 +00:00
|
|
|
|
|
|
|
#ifndef RESOLVED_ADDRESSES_DIALOG_H
|
|
|
|
#define RESOLVED_ADDRESSES_DIALOG_H
|
|
|
|
|
2016-02-28 18:23:20 +00:00
|
|
|
#include "geometry_state_dialog.h"
|
2015-07-09 23:00:14 +00:00
|
|
|
|
2019-10-04 19:05:13 +00:00
|
|
|
#include <wiretap/wtap.h>
|
|
|
|
|
2015-07-09 23:00:14 +00:00
|
|
|
class CaptureFile;
|
2019-08-29 15:30:29 +00:00
|
|
|
class AStringListListSortFilterProxyModel;
|
2015-07-09 23:00:14 +00:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class ResolvedAddressesDialog;
|
|
|
|
}
|
|
|
|
|
2016-02-28 18:23:20 +00:00
|
|
|
class ResolvedAddressesDialog : public GeometryStateDialog
|
2015-07-09 23:00:14 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2019-10-04 19:05:13 +00:00
|
|
|
explicit ResolvedAddressesDialog(QWidget *parent, QString captureFile, wtap* wth);
|
2015-07-09 23:00:14 +00:00
|
|
|
~ResolvedAddressesDialog();
|
|
|
|
|
|
|
|
protected slots:
|
2019-08-29 15:30:29 +00:00
|
|
|
void on_cmbDataType_currentIndexChanged(QString val);
|
|
|
|
void on_txtSearchFilter_textChanged(QString text);
|
|
|
|
void on_cmbPortFilterType_currentIndexChanged(QString val);
|
|
|
|
void on_txtPortFilter_textChanged(QString text);
|
2015-07-09 23:00:14 +00:00
|
|
|
|
2019-08-29 15:30:29 +00:00
|
|
|
void changeEvent(QEvent* event);
|
2015-07-09 23:00:14 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::ResolvedAddressesDialog *ui;
|
|
|
|
QString file_name_;
|
2015-07-20 14:35:06 +00:00
|
|
|
QString comment_;
|
2015-07-09 23:00:14 +00:00
|
|
|
|
2019-08-29 15:30:29 +00:00
|
|
|
AStringListListSortFilterProxyModel * ethSortModel;
|
|
|
|
AStringListListSortFilterProxyModel * ethTypeModel;
|
|
|
|
AStringListListSortFilterProxyModel * portSortModel;
|
|
|
|
AStringListListSortFilterProxyModel * portTypeModel;
|
|
|
|
|
2015-07-09 23:00:14 +00:00
|
|
|
void fillBlocks();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // RESOLVED_ADDRESSES_DIALOG_H
|