|
Wireshark 4.7.3
The Wireshark network protocol analyzer
|
FilterEdit for the single-packet find bar (string/regex syntax tint only). More...
#include <in_packet_find_edit.h>
Public Member Functions | |
| InPacketFindEdit (QWidget *parent=nullptr) | |
| void | updateSearchSyntax (bool empty, bool regex_invalid) |
| Drive invalid/valid tint from in-packet search results. | |
| void | clearSearchSyntax () |
| Neutral field tint when the bar is closed. | |
| Public Member Functions inherited from FilterEdit | |
| FilterEdit (QWidget *parent=nullptr) | |
| SyntaxState | state () const |
| Current syntax state. | |
| QString | syntaxStateName () const |
| Lowercase state name used for QSS property matching. | |
| void | setValidator (FilterValidator *validator) |
| Installs the filter validator. Widget-owned (deleted with the widget, and replaces any previous validator). | |
| FilterValidator * | validator () const |
| The installed filter validator, or nullptr. | |
| void | setCompleter (FilterCompleter *completer) |
| Installs the filter completer. Widget-owned, and also set as the QLineEdit completer so the native typeahead popup works. | |
| FilterCompleter * | completer () const |
| The installed filter completer, or nullptr. | |
| QString | lastError () const |
| Short error message from the last validation, or empty. | |
| QString | lastErrorFull () const |
| Full, location-annotated error message, or empty. | |
| QString | deprecatedToken () const |
| Deprecated token from the last validation, or empty. | |
Additional Inherited Members | |
| Public Types inherited from FilterEdit | |
| enum class | SyntaxState { Empty , Busy , Intermediate , Invalid , Deprecated , Valid } |
| Visual/semantic state of the current text, mapped from the validator. More... | |
| Public Slots inherited from FilterEdit | |
| void | insertFilter (const QString &filter) |
Inserts filter at the cursor, padding with spaces as needed to keep the expression well-formed. Replaces a current selection. | |
| Signals inherited from FilterEdit | |
| void | syntaxStateChanged (FilterEdit::SyntaxState state) |
| Emitted whenever the syntax state changes. | |
| Protected Member Functions inherited from FilterEdit | |
| void | setState (SyntaxState state) |
| Sets the state, re-polishes the style for the new QSS property, and emits syntaxStateChanged() if it changed. | |
| void | paintEvent (QPaintEvent *event) override |
| void | validateNow () |
| Runs the validator against the current text and updates the state. | |
| Properties inherited from FilterEdit | |
| QString | syntaxState |
FilterEdit for the single-packet find bar (string/regex syntax tint only).
The main-window Find Packet field remains DisplayFilterEdit until that site is migrated separately.