Wireshark 4.7.2
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture_filter_entry.h
Go to the documentation of this file.
1
9
10#ifndef CAPTURE_FILTER_ENTRY_H
11#define CAPTURE_FILTER_ENTRY_H
12
14
15#include <QPair>
16
31class CaptureFilterEntry : public FilterExpressionEdit
32{
33 Q_OBJECT
34
35public:
36 explicit CaptureFilterEntry(QWidget *parent = nullptr);
37
42 void setConflict(bool conflict = false);
43
49 static QPair<const QString, bool> getSelectedFilter();
50
51public slots:
53 void recheck();
54
55signals:
59 void captureFilterChanged(const QString &filter);
63 void addBookmark(const QString &filter);
64
65private:
66 QString placeholder_text_;
67};
68
69#endif // CAPTURE_FILTER_ENTRY_H
static QPair< const QString, bool > getSelectedFilter()
The capture filter common to the selected interfaces.
Definition capture_filter_entry.cpp:132
void setConflict(bool conflict=false)
Sets the conflict state shown when selected interfaces disagree on their capture filter (adjusts plac...
Definition capture_filter_entry.cpp:117
void startCapture()
Capture requested via Enter (from the base applied).
void recheck()
Re-validates the current text (e.g. when the interface selection changes).
Definition capture_filter_entry.cpp:110
void captureFilterSyntaxChanged(bool valid)
Capture-filter validity changed (from the base validityChanged).
void captureFilterChanged(const QString &filter)
Capture-filter text changed (from the base textChangedExpr).
void addBookmark(const QString &filter)
Bookmark requested for the current expression.