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