| Wireshark 4.7.3 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
13#include <ui/qt/widgets/filter_expression_edit.h>
14
15#include <QPair>
16
31 class CaptureFilterEntry : public FilterExpressionEdit
32{
33 Q_OBJECT
34
35 public:
36 explicit CaptureFilterEntry(QWidget *parent = nullptr);
37
42 void setConflict(bool conflict = false);
43
49 static QPair<const QString, bool> getSelectedFilter();
50
51 public slots:
53 void recheck();
54
55signals:
57 void captureFilterSyntaxChanged(bool valid);
59 void captureFilterChanged(const QString &filter);
61 void startCapture();
63 void addBookmark(const QString &filter);
64
65 private:
66 QString placeholder_text_;
67};
68
69#endif // CAPTURE_FILTER_ENTRY_H
CaptureFilterEntry::getSelectedFilter
static QPair< const QString, bool > getSelectedFilter()
The capture filter common to the selected interfaces.
Definition capture_filter_entry.cpp:132
CaptureFilterEntry::setConflict
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
CaptureFilterEntry::startCapture
void startCapture()
Capture requested via Enter (from the base applied).
CaptureFilterEntry::recheck
void recheck()
Re-validates the current text (e.g. when the interface selection changes).
Definition capture_filter_entry.cpp:110
CaptureFilterEntry::captureFilterSyntaxChanged
void captureFilterSyntaxChanged(bool valid)
Capture-filter validity changed (from the base validityChanged).
CaptureFilterEntry::captureFilterChanged
void captureFilterChanged(const QString &filter)
Capture-filter text changed (from the base textChangedExpr).
CaptureFilterEntry::addBookmark
void addBookmark(const QString &filter)
Bookmark requested for the current expression.
filter_expression_edit.h