A combo box widget for entering and selecting capture filters, providing a history of recently used filters.
More...
#include <capture_filter_combo.h>
|
|
void | interfacesChanged () |
| | Signal emitted when the available network interfaces change.
|
| |
| void | captureFilterSyntaxChanged (bool valid) |
| | Signal emitted when the validity of the current capture filter syntax changes.
|
| |
|
void | startCapture () |
| | Signal emitted to request starting a packet capture.
|
| |
|
| | CaptureFilterCombo (QWidget *parent=0, bool plain=false) |
| | Constructs a new CaptureFilterCombo widget.
|
| |
| bool | addRecentCapture (const char *filter) |
| | Adds a filter to the list of recently used capture filters.
|
| |
| void | writeRecent (FILE *rf) |
| | Writes the recent capture filters to the provided file.
|
| |
| void | setConflict (bool conflict=false) |
| | Sets the conflict state of the capture filter edit widget.
|
| |
|
| virtual bool | event (QEvent *event) |
| | Handles general events directed to the combo box.
|
| |
A combo box widget for entering and selecting capture filters, providing a history of recently used filters.
◆ CaptureFilterCombo()
| CaptureFilterCombo::CaptureFilterCombo |
( |
QWidget * |
parent = 0, |
|
|
bool |
plain = false |
|
) |
| |
|
explicit |
Constructs a new CaptureFilterCombo widget.
- Parameters
-
| parent | The parent widget, defaults to 0. |
| plain | If true, creates a plain combo box without extended editing features; defaults to false. |
◆ addRecentCapture()
| bool CaptureFilterCombo::addRecentCapture |
( |
const char * |
filter | ) |
|
Adds a filter to the list of recently used capture filters.
- Parameters
-
| filter | The capture filter string to add. |
- Returns
- True if the filter was successfully added, false otherwise.
◆ captureFilterSyntaxChanged
| void CaptureFilterCombo::captureFilterSyntaxChanged |
( |
bool |
valid | ) |
|
|
signal |
Signal emitted when the validity of the current capture filter syntax changes.
- Parameters
-
| valid | True if the current filter syntax is valid, false otherwise. |
◆ event()
| bool CaptureFilterCombo::event |
( |
QEvent * |
event | ) |
|
|
protectedvirtual |
Handles general events directed to the combo box.
- Parameters
-
| event | The event to be handled. |
- Returns
- True if the event was handled successfully, false otherwise.
◆ setConflict()
| void CaptureFilterCombo::setConflict |
( |
bool |
conflict = false | ) |
|
|
inline |
Sets the conflict state of the capture filter edit widget.
- Parameters
-
| conflict | True to indicate a conflict state, false otherwise (defaults to false). |
◆ writeRecent()
| void CaptureFilterCombo::writeRecent |
( |
FILE * |
rf | ) |
|
Writes the recent capture filters to the provided file.
- Parameters
-
| rf | Pointer to the open file to write the recent filters to. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/capture_filter_combo.h
- /builds/wireshark/wireshark/ui/qt/widgets/capture_filter_combo.cpp