| 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
17#include <ui/qt/models/interface_tree_cache_model.h>
18#include <ui/qt/models/interface_sort_filter_model.h>
19
20#include "geometry_state_dialog.h"
21#include <QStyledItemDelegate>
22
23 class QTreeWidget;
24 class QTreeWidgetItem;
25 class QStandardItemModel;
26
27 class QLineEdit;
28
29
30 namespace Ui {
31 class ManageInterfacesDialog;
32}
33
34 class ManageInterfacesDialog : public GeometryStateDialog
35{
36 Q_OBJECT
37
38 public:
39 explicit ManageInterfacesDialog(QWidget *parent = 0);
40 ~ManageInterfacesDialog();
41
42 private:
43 Ui::ManageInterfacesDialog *ui;
44
45 InterfaceTreeCacheModel * sourceModel;
46 InterfaceSortFilterModel * proxyModel;
47 InterfaceSortFilterModel * pipeProxyModel;
48
49 void showRemoteInterfaces();
50#ifdef HAVE_PCAP_REMOTE
51 void addRemote(const QVariantMap&&);
52 void populateExistingRemotes();
53#endif
54
55signals:
56 void ifsChanged();
57#ifdef HAVE_PCAP_REMOTE
58 void remoteAdded(GList *rlist, remote_options *roptions);
59 void remoteSettingsChanged(interface_t *iface);
60#endif
61
62 private slots:
63 void updateWidgets();
64
65#ifdef HAVE_LIBPCAP
66 void on_addPipe_clicked();
67 void on_delPipe_clicked();
68#endif
69
70#ifdef HAVE_PCAP_REMOTE
71 void on_addRemote_clicked();
72 void on_delRemote_clicked();
73 void remoteAccepted();
74 void on_remoteList_currentItemChanged(QTreeWidgetItem *current, QTreeWidgetItem *previous);
75 void on_remoteList_itemClicked(QTreeWidgetItem *item, int column);
76 void addRemoteInterfaces(GList *rlist, remote_options *roptions);
77 void updateRemoteInterfaceList(capture_options* capture_opts, GList *rlist, remote_options *roptions);
78 void setRemoteSettings(interface_t *iface);
79 void remoteSelectionChanged(QTreeWidgetItem* item, int col);
80 void on_remoteSettings_clicked();
81#endif
82 void on_buttonBox_helpRequested();
83};
84
85#endif // MANAGE_INTERFACES_DIALOG_H
capture_opts.h
GeometryStateDialog
Definition geometry_state_dialog.h:17
InterfaceSortFilterModel
Definition interface_sort_filter_model.h:22
InterfaceTreeCacheModel
Definition interface_tree_cache_model.h:22
ManageInterfacesDialog
Definition manage_interfaces_dialog.h:35
geometry_state_dialog.h
interface_sort_filter_model.h
interface_tree_cache_model.h
capture_options_tag
Definition capture_opts.h:236
interface_t
Definition androiddump.c:219