Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
manage_interfaces_dialog.h
Go to the documentation of this file.
1
10#ifndef MANAGE_INTERFACES_DIALOG_H
11#define MANAGE_INTERFACES_DIALOG_H
12
13#include <config.h>
14
15#include <ui/capture_opts.h>
16
19
21#include <QStyledItemDelegate>
22
23class QTreeWidget;
24class QTreeWidgetItem;
25class QStandardItemModel;
26
27class QLineEdit;
28
29
30namespace Ui {
32}
33
38{
39 Q_OBJECT
40
41public:
46 explicit ManageInterfacesDialog(QWidget *parent = 0);
47
52
53private:
55 Ui::ManageInterfacesDialog *ui;
56
58 InterfaceTreeCacheModel * sourceModel;
59
61 InterfaceSortFilterModel * proxyModel;
62
64 InterfaceSortFilterModel * pipeProxyModel;
65
69 void showRemoteInterfaces();
70
71#ifdef HAVE_PCAP_REMOTE
76 void addRemote(const QVariantMap&& remoteHostMap);
77
81 void populateExistingRemotes();
82#endif
83
84signals:
88 void ifsChanged();
89
90#ifdef HAVE_PCAP_REMOTE
96 void remoteAdded(GList *rlist, remote_options *roptions);
97
102 void remoteSettingsChanged(interface_t *iface);
103#endif
104
105private slots:
109 void updateWidgets();
110
111#ifdef HAVE_LIBPCAP
115 void on_addPipe_clicked();
116
120 void on_delPipe_clicked();
121#endif
122
123#ifdef HAVE_PCAP_REMOTE
127 void on_addRemote_clicked();
128
132 void on_delRemote_clicked();
133
137 void remoteAccepted();
138
144 void on_remoteList_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
145
151 void on_remoteList_itemClicked(QTreeWidgetItem *item, int column);
152
158 void addRemoteInterfaces(GList *rlist, remote_options *roptions);
159
166 void updateRemoteInterfaceList(capture_options* capture_opts, GList *rlist, remote_options *roptions);
167
172 void setRemoteSettings(interface_t *iface);
173
179 void remoteSelectionChanged(QTreeWidgetItem* item, int col);
180
184 void on_remoteSettings_clicked();
185#endif
186
190 void on_buttonBox_helpRequested();
191};
192
193#endif // MANAGE_INTERFACES_DIALOG_H
A dialog that remembers its geometry and splitter state.
Definition geometry_state_dialog.h:20
A proxy model that provides custom sorting and filtering for the list of interfaces.
Definition interface_sort_filter_model.h:25
A proxy model that caches edits and additions to the interface tree before applying them to the sourc...
Definition interface_tree_cache_model.h:25
Dialog for managing capture interfaces.
Definition manage_interfaces_dialog.h:38
~ManageInterfacesDialog()
Destroys the ManageInterfacesDialog.
Definition manage_interfaces_dialog.cpp:255
void ifsChanged()
Signal emitted when the list of interfaces has changed.
Definition capture_opts.h:236
Definition androiddump.c:219