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;
198 void interfaceTreeSelectionChanged(
const QItemSelection & selected,
const QItemSelection & deselected);
204 void on_interfaceTree_doubleClicked(
const QModelIndex &index);
211 void on_interfaceTree_clicked(
const QModelIndex &index);
218 void actionButton_toggled(
bool checked);
223 void triggeredIfTypeButton();
228 void hideInterfacesOfType();
234 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:438
~InterfaceFrame()
Destroys the InterfaceFrame.
Definition interface_frame.cpp:160
void ensureSelectedInterface()
Ensures at least one interface is selected, if possible.
Definition interface_frame.cpp:234
void showContextMenu(QPoint pos)
Shows the context menu for the interface list.
Definition interface_frame.cpp:579
void toggleHiddenInterfaces()
Toggles the visibility of hidden interfaces in the list.
Definition interface_frame.cpp:288
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:224
int interfacesPresent()
Gets the total number of interfaces present.
Definition interface_frame.cpp:229
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:181
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:451
void interfaceListChanged()
Handles updates when the global interface list changes.
Definition interface_frame.cpp:273
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:481
void showRunOnFile()
Triggers the action to run wireshark/tshark on a file.
Definition interface_frame.cpp:574
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