13#ifndef INTERFACE_FRAME_H
14#define INTERFACE_FRAME_H
24#include <QAbstractButton>
116#ifdef HAVE_PCAP_REMOTE
120 void toggleRemoteInterfaces();
159 void saveHiddenInterfaces();
164 void resetInterfaceTreeDisplay();
169 void resizeInterfaceColumns();
175 bool haveLocalCapturePermissions()
const;
178 Ui::InterfaceFrame *ui;
190 QMap<int, QString> ifTypeDescription;
199 void connectInterfaceListManager();
206 void interfaceTreeSelectionChanged(
const QItemSelection & selected,
const QItemSelection & deselected);
212 void on_interfaceTree_doubleClicked(
const QModelIndex &index);
219 void on_interfaceTree_clicked(
const QModelIndex &index);
226 void actionButton_toggled(
bool checked);
231 void triggeredIfTypeButton();
236 void hideInterfacesOfType();
242 void on_warningLabel_linkActivated(
const QString &link);
Proxy model that appends additional information rows to a source model.
Definition info_proxy_model.h:24
void startCapture(QStringList interfaces)
Signal emitted to initiate a capture session.
void changeEvent(QEvent *evt) override
Handles change events; re-fits the interface tree columns when the widget is re-polished (works aroun...
Definition interface_frame.cpp:440
~InterfaceFrame()
Destroys the InterfaceFrame.
Definition interface_frame.cpp:146
void ensureSelectedInterface()
Ensures at least one interface is selected, if possible.
Definition interface_frame.cpp:228
void showContextMenu(QPoint pos)
Shows the context menu for the interface list.
Definition interface_frame.cpp:581
void toggleHiddenInterfaces()
Toggles the visibility of hidden interfaces in the list.
Definition interface_frame.cpp:290
InterfaceFrame(QWidget *parent=0)
Constructs a new InterfaceFrame.
Definition interface_frame.cpp:66
int interfacesHidden()
Gets the number of currently hidden interfaces.
Definition interface_frame.cpp:218
int interfacesPresent()
Gets the total number of interfaces present.
Definition interface_frame.cpp:223
void showExtcapOptions(QString device_name, bool startCaptureOnClose)
Signal emitted to show the extended capture (extcap) options dialog for a device.
QMenu * getSelectionMenu()
Retrieves the selection menu associated with the interface list.
Definition interface_frame.cpp:175
void resizeEvent(QResizeEvent *evt) override
Handles resize events; re-fits the interface tree columns so the name column cap (and the room left f...
Definition interface_frame.cpp:453
void interfaceListChanged()
Handles updates when the global interface list changes.
Definition interface_frame.cpp:267
void typeSelectionChanged()
Signal emitted when the selected interface type filter changes.
void itemSelectionChanged()
Signal emitted when the item selection in the interface list changes.
void updateSelectedInterfaces()
Updates the UI state based on currently selected interfaces.
Definition interface_frame.cpp:483
void showRunOnFile()
Triggers the action to run wireshark/tshark on a file.
Definition interface_frame.cpp:576
A proxy model that provides custom sorting and filtering for the list of interfaces.
Definition interface_sort_filter_model.h:25
A table model representing the system's available capture interfaces.
Definition interface_tree_model.h:69