A combo box widget tailored for entering, evaluating, and storing display filters.
More...
#include <display_filter_combo.h>
|
| bool | checkDisplayFilter () |
| | Validates the syntax of the currently entered display filter.
|
| |
|
void | applyDisplayFilter () |
| | Applies the currently entered display filter.
|
| |
| void | setDisplayFilter (QString filter) |
| | Sets the text of the display filter input.
|
| |
|
| | DisplayFilterCombo (QWidget *parent=0) |
| | Constructs a new DisplayFilterCombo widget.
|
| |
| bool | addRecentCapture (const char *filter) |
| | Adds a display filter to the list of recently used captures.
|
| |
| void | writeRecent (FILE *rf) |
| | Writes the list of recent display filters to a given file handle.
|
| |
|
void | updateStyleSheet () |
| | Updates the widget's style sheet based on its current syntax validation state.
|
| |
|
| void | rowsInserted (const QModelIndex &, int first, int last) |
| | Handles the insertion of rows into the combo box's model.
|
| |
| virtual bool | event (QEvent *event) |
| | Handles general events directed to the combo box.
|
| |
A combo box widget tailored for entering, evaluating, and storing display filters.
◆ DisplayFilterCombo()
| DisplayFilterCombo::DisplayFilterCombo |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
Constructs a new DisplayFilterCombo widget.
- Parameters
-
| parent | The parent widget, defaults to 0. |
◆ addRecentCapture()
| bool DisplayFilterCombo::addRecentCapture |
( |
const char * |
filter | ) |
|
Adds a display filter to the list of recently used captures.
- Parameters
-
| filter | The filter string to add. |
- Returns
- True if the filter was successfully added, false otherwise.
◆ checkDisplayFilter
| bool DisplayFilterCombo::checkDisplayFilter |
( |
| ) |
|
|
slot |
Validates the syntax of the currently entered display filter.
- Returns
- True if the filter syntax is valid, false otherwise.
◆ event()
| bool DisplayFilterCombo::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.
◆ rowsInserted()
| void DisplayFilterCombo::rowsInserted |
( |
const QModelIndex & |
, |
|
|
int |
first, |
|
|
int |
last |
|
) |
| |
|
protected |
Handles the insertion of rows into the combo box's model.
- Parameters
-
| first | The starting row index. |
| last | The ending row index. |
◆ setDisplayFilter
| void DisplayFilterCombo::setDisplayFilter |
( |
QString |
filter | ) |
|
|
slot |
Sets the text of the display filter input.
- Parameters
-
| filter | The display filter string to set. |
◆ writeRecent()
| void DisplayFilterCombo::writeRecent |
( |
FILE * |
rf | ) |
|
Writes the list of recent display filters to a given file handle.
- Parameters
-
| rf | Pointer to the open file where recent filters will be written. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/display_filter_combo.h
- /builds/wireshark/wireshark/ui/qt/widgets/display_filter_combo.cpp