A frame containing the list of interfaces available for capture, along with status and controls.
More...
#include <interface_frame.h>
|
|
void | updateSelectedInterfaces () |
| | Updates the UI state based on currently selected interfaces.
|
| |
|
void | interfaceListChanged () |
| | Handles updates when the global interface list changes.
|
| |
|
void | toggleHiddenInterfaces () |
| | Toggles the visibility of hidden interfaces in the list.
|
| |
|
void | showRunOnFile () |
| | Triggers the action to run wireshark/tshark on a file.
|
| |
| void | showContextMenu (QPoint pos) |
| | Shows the context menu for the interface list.
|
| |
|
| void | showExtcapOptions (QString device_name, bool startCaptureOnClose) |
| | Signal emitted to show the extended capture (extcap) options dialog for a device.
|
| |
| void | startCapture (QStringList interfaces) |
| | Signal emitted to initiate a capture session.
|
| |
|
void | itemSelectionChanged () |
| | Signal emitted when the item selection in the interface list changes.
|
| |
|
void | typeSelectionChanged () |
| | Signal emitted when the selected interface type filter changes.
|
| |
|
| void | hideEvent (QHideEvent *evt) |
| | Handles hide events for the frame, stopping updates if necessary.
|
| |
| void | showEvent (QShowEvent *evt) |
| | Handles show events for the frame, resuming updates if necessary.
|
| |
| void | changeEvent (QEvent *evt) |
| | Handles change events; re-fits the interface tree columns when the widget is re-polished (works around QTBUG-122109).
|
| |
A frame containing the list of interfaces available for capture, along with status and controls.
◆ InterfaceFrame()
| InterfaceFrame::InterfaceFrame |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructs a new InterfaceFrame.
- Parameters
-
| parent | The parent widget, defaults to 0. |
◆ changeEvent()
| void InterfaceFrame::changeEvent |
( |
QEvent * |
evt | ) |
|
|
protected |
Handles change events; re-fits the interface tree columns when the widget is re-polished (works around QTBUG-122109).
- Parameters
-
◆ getSelectionMenu()
| QMenu * InterfaceFrame::getSelectionMenu |
( |
| ) |
|
Retrieves the selection menu associated with the interface list.
- Returns
- A pointer to the QMenu.
◆ hideEvent()
| void InterfaceFrame::hideEvent |
( |
QHideEvent * |
evt | ) |
|
|
protected |
Handles hide events for the frame, stopping updates if necessary.
- Parameters
-
◆ interfacesHidden()
| int InterfaceFrame::interfacesHidden |
( |
| ) |
|
Gets the number of currently hidden interfaces.
- Returns
- The count of hidden interfaces.
◆ interfacesPresent()
| int InterfaceFrame::interfacesPresent |
( |
| ) |
|
Gets the total number of interfaces present.
- Returns
- The count of present interfaces.
◆ showContextMenu
| void InterfaceFrame::showContextMenu |
( |
QPoint |
pos | ) |
|
|
slot |
Shows the context menu for the interface list.
- Parameters
-
| pos | The position where the context menu was requested. |
◆ showEvent()
| void InterfaceFrame::showEvent |
( |
QShowEvent * |
evt | ) |
|
|
protected |
Handles show events for the frame, resuming updates if necessary.
- Parameters
-
◆ showExtcapOptions
| void InterfaceFrame::showExtcapOptions |
( |
QString |
device_name, |
|
|
bool |
startCaptureOnClose |
|
) |
| |
|
signal |
Signal emitted to show the extended capture (extcap) options dialog for a device.
- Parameters
-
| device_name | The name of the device. |
| startCaptureOnClose | True if capture should start automatically upon closing the options dialog. |
◆ startCapture
| void InterfaceFrame::startCapture |
( |
QStringList |
interfaces | ) |
|
|
signal |
Signal emitted to initiate a capture session.
- Parameters
-
| interfaces | A list of interface names to capture from. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/interface_frame.h
- /builds/wireshark/wireshark/ui/qt/interface_frame.cpp