| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
resolved_addresses_dialog.h
Go to the documentation of this file.
1
9
10#ifndef RESOLVED_ADDRESSES_DIALOG_H
11#define RESOLVED_ADDRESSES_DIALOG_H
12
13#include "geometry_state_dialog.h"
14
15#include <QMenu>
16
17#include <wiretap/wtap.h>
18
19 class CaptureFile;
20 class AStringListListSortFilterProxyModel;
21
22 namespace Ui {
23 class ResolvedAddressesDialog;
24}
25
29 class ResolvedAddressesDialog : public GeometryStateDialog
30{
31 Q_OBJECT
32
33 public:
40 explicit ResolvedAddressesDialog(QWidget *parent, QString captureFile, wtap* wth);
41
45 ~ResolvedAddressesDialog();
46
47 protected slots:
52 void on_cmbDataType_currentIndexChanged(int index);
53
58 void on_txtSearchFilter_textChanged(QString text);
59
64 void on_cmbPortFilterType_currentIndexChanged(int index);
65
70 void on_txtPortFilter_textChanged(QString text);
71
76 void changeEvent(QEvent* event) override;
77
78 private:
80 Ui::ResolvedAddressesDialog *ui;
81
83 QString file_name_;
84
86 QString comment_;
87
89 QPushButton *copy_bt_;
90
92 QPushButton *save_bt_;
93
95 AStringListListSortFilterProxyModel * ethSortModel;
96
98 AStringListListSortFilterProxyModel * ethTypeModel;
99
101 AStringListListSortFilterProxyModel * portSortModel;
102
104 AStringListListSortFilterProxyModel * portTypeModel;
105
109 void fillBlocks();
110
111 private slots:
116 void tabChanged(int index);
117
121 void saveAs();
122};
123
124#endif // RESOLVED_ADDRESSES_DIALOG_H
AStringListListSortFilterProxyModel
A sort/filter proxy model for AStringListList-based models.
Definition astringlist_list_model.h:91
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
GeometryStateDialog::GeometryStateDialog
GeometryStateDialog(QWidget *parent, Qt::WindowFlags f=Qt::Window)
Constructs a new GeometryStateDialog with the specified parent and window flags.
Definition geometry_state_dialog.h:91
ResolvedAddressesDialog::~ResolvedAddressesDialog
~ResolvedAddressesDialog()
Destroys the ResolvedAddressesDialog object.
Definition resolved_addresses_dialog.cpp:115
ResolvedAddressesDialog::on_cmbPortFilterType_currentIndexChanged
void on_cmbPortFilterType_currentIndexChanged(int index)
Handles the port filter type combo box index change.
Definition resolved_addresses_dialog.cpp:166
ResolvedAddressesDialog::ResolvedAddressesDialog
ResolvedAddressesDialog(QWidget *parent, QString captureFile, wtap *wth)
Constructs a new ResolvedAddressesDialog object.
Definition resolved_addresses_dialog.cpp:35
ResolvedAddressesDialog::on_txtSearchFilter_textChanged
void on_txtSearchFilter_textChanged(QString text)
Handles text changes in the search filter.
Definition resolved_addresses_dialog.cpp:157
ResolvedAddressesDialog::changeEvent
void changeEvent(QEvent *event) override
Handles state change events.
Definition resolved_addresses_dialog.cpp:190
ResolvedAddressesDialog::on_txtPortFilter_textChanged
void on_txtPortFilter_textChanged(QString text)
Handles text changes in the port filter.
Definition resolved_addresses_dialog.cpp:182
ResolvedAddressesDialog::on_cmbDataType_currentIndexChanged
void on_cmbDataType_currentIndexChanged(int index)
Handles the data type combo box index change.
Definition resolved_addresses_dialog.cpp:141
geometry_state_dialog.h
wtap
Definition wtap_module.h:58
wtap.h