Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
manage_interfaces_dialog.h
Go to the documentation of this file.
1
9
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 {
31class ManageInterfacesDialog;
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:
85#ifdef HAVE_PCAP_REMOTE
91 void remoteAdded(GList *rlist, remote_options *roptions);
92
97 void remoteSettingsChanged(interface_t *iface);
98#endif
99
100private slots:
104 void updateWidgets();
105
106#ifdef HAVE_LIBPCAP
110 void on_addPipe_clicked();
111
115 void on_delPipe_clicked();
116#endif
117
118#ifdef HAVE_PCAP_REMOTE
122 void on_addRemote_clicked();
123
127 void on_delRemote_clicked();
128
132 void remoteAccepted();
133
139 void on_remoteList_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
140
146 void on_remoteList_itemClicked(QTreeWidgetItem *item, int column);
147
153 void addRemoteInterfaces(GList *rlist, remote_options *roptions);
154
161 void updateRemoteInterfaceList(capture_options* capture_opts, GList *rlist, remote_options *roptions);
162
167 void setRemoteSettings(interface_t *iface);
168
174 void remoteSelectionChanged(QTreeWidgetItem* item, int col);
175
179 void on_remoteSettings_clicked();
180#endif
181
185 void on_buttonBox_helpRequested();
186};
187
188#endif // MANAGE_INTERFACES_DIALOG_H
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
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
ManageInterfacesDialog(QWidget *parent=0)
Constructs a new ManageInterfacesDialog.
Definition manage_interfaces_dialog.cpp:168
~ManageInterfacesDialog()
Destroys the ManageInterfacesDialog.
Definition manage_interfaces_dialog.cpp:255
Definition androiddump.c:217