36class DisplayFilterEntry :
public FilterExpressionEdit
41 explicit DisplayFilterEntry(QWidget *parent =
nullptr);
76 void dragEnterEvent(QDragEnterEvent *event)
override;
77 void dragMoveEvent(QDragMoveEvent *event)
override;
78 void dropEvent(QDropEvent *event)
override;
79 void contextMenuEvent(QContextMenuEvent *event)
override;
82 void connectToMainWindow();
84 void createFilterTextDropMenu(QDropEvent *event,
bool prepare, QString filterText = QString());
85 void displayFilterExpression();
87 QString last_applied_;
void popFilterSyntaxStatus()
Pop the filter-syntax message from the status bar.
void filterPackets(QString new_filter, bool force)
Request applying new_filter to the packet list.
void applyDisplayFilter()
Applies the current expression (explicit apply).
Definition display_filter_entry.cpp:151
void pushFilterSyntaxStatus(const QString &msg)
Push a filter-syntax message to the status bar.
void setDisplayFilter(QString filter)
Sets the field text and focuses it (programmatic filter entry).
Definition display_filter_entry.cpp:145
void recheck()
Re-validates the current text (e.g. on preferences change).
Definition display_filter_entry.cpp:140
bool checkDisplayFilter()
Validates the current expression.
Definition display_filter_entry.cpp:156
void displayFilterSuccess(bool success)
Reflects whether the last applied filter succeeded; keeps the apply action disabled while the field a...
Definition display_filter_entry.cpp:162
void showPreferencesDialog(QString pane_name)
Request showing a preferences pane.