A toolbar widget dynamically generated for interface-specific controls.
More...
#include <interface_toolbar.h>
|
|
void | interfaceListChanged () |
| | Slot triggered when the global list of interfaces changes.
|
| void | controlReceived (QString ifname, int num, int command, QByteArray message) |
| | Slot triggered when a control message is received from an interface.
|
| void | captureEventHandler (CaptureEvent ev) |
| | Slot triggered when the current CaptureFile has an Event.
|
|
|
void | closeReader () |
| | Signal emitted to request the reader threads to close.
|
|
| | InterfaceToolbar (QWidget *parent=0, const iface_toolbar *toolbar=NULL) |
| | Constructs a new InterfaceToolbar.
|
|
| ~InterfaceToolbar () |
| | Destroys the InterfaceToolbar.
|
| void | startCapture (GArray *ifaces) |
| | Initializes and starts the capture controls for the given interfaces.
|
|
void | stopCapture () |
| | Stops the capture and disables active controls.
|
| bool | hasInterface (QString ifname) const |
| | Checks if this toolbar is managing a specific interface.
|
A toolbar widget dynamically generated for interface-specific controls.
◆ InterfaceToolbar()
| InterfaceToolbar::InterfaceToolbar |
( |
QWidget * | parent = 0, |
|
|
const iface_toolbar * | toolbar = NULL ) |
|
explicit |
Constructs a new InterfaceToolbar.
- Parameters
-
| parent | The parent widget, defaults to 0. |
| toolbar | Pointer to the core iface_toolbar configuration, defaults to NULL. |
◆ captureEventHandler
| void InterfaceToolbar::captureEventHandler |
( |
CaptureEvent | ev | ) |
|
|
slot |
Slot triggered when the current CaptureFile has an Event.
- Parameters
-
◆ controlReceived
| void InterfaceToolbar::controlReceived |
( |
QString | ifname, |
|
|
int | num, |
|
|
int | command, |
|
|
QByteArray | message ) |
|
slot |
Slot triggered when a control message is received from an interface.
- Parameters
-
| ifname | The name of the interface sending the control. |
| num | The control number. |
| command | The command type. |
| message | The payload message. |
◆ hasInterface()
| bool InterfaceToolbar::hasInterface |
( |
QString | ifname | ) |
const |
Checks if this toolbar is managing a specific interface.
- Parameters
-
| ifname | The interface name to check. |
- Returns
- True if the interface is managed here, false otherwise.
◆ startCapture()
| void InterfaceToolbar::startCapture |
( |
GArray * | ifaces | ) |
|
Initializes and starts the capture controls for the given interfaces.
- Parameters
-
| ifaces | Array of interfaces participating in the capture. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/interface_toolbar.h
- /builds/wireshark/wireshark/ui/qt/interface_toolbar.cpp