13 #ifndef INTERFACE_FRAME_H
14 #define INTERFACE_FRAME_H
25 #include <QHBoxLayout>
26 #include <QAbstractButton>
29 #include <QPushButton>
42 int interfacesHidden();
44 QMenu * getSelectionMenu();
45 int interfacesPresent();
46 void ensureSelectedInterface();
49 void showExtcapOptions(QString device_name,
bool startCaptureOnClose);
50 void startCapture(QStringList);
51 void itemSelectionChanged();
52 void typeSelectionChanged();
55 void updateSelectedInterfaces();
56 void interfaceListChanged();
57 void toggleHiddenInterfaces();
58 #ifdef HAVE_PCAP_REMOTE
59 void toggleRemoteInterfaces();
62 void showContextMenu(QPoint pos);
65 void hideEvent(QHideEvent *evt);
66 void showEvent(QShowEvent *evt);
70 void resetInterfaceTreeDisplay();
71 bool haveLocalCapturePermissions()
const;
73 Ui::InterfaceFrame *ui;
79 QMap<int, QString> ifTypeDescription;
86 void interfaceTreeSelectionChanged(
const QItemSelection & selected,
const QItemSelection & deselected);
88 void on_interfaceTree_doubleClicked(
const QModelIndex &index);
90 void on_interfaceTree_clicked(
const QModelIndex &index);
93 void updateStatistics(
void);
94 void actionButton_toggled(
bool checked);
95 void triggeredIfTypeButton();
96 void on_warningLabel_linkActivated(
const QString &link);
Definition: info_proxy_model.h:21
Definition: interface_frame.h:36
Definition: interface_sort_filter_model.h:24
Definition: interface_tree_model.h:57