Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
field_filter_edit.h
Go to the documentation of this file.
1
10#ifndef FIELDFILTEREDIT_H
11#define FIELDFILTEREDIT_H
12
14
15class QEvent;
17
19{
20 Q_OBJECT
21public:
22 explicit FieldFilterEdit(QWidget *parent = 0);
23
24protected:
25 void keyPressEvent(QKeyEvent *event) { completionKeyPressEvent(event); }
26 void focusInEvent(QFocusEvent *event) { completionFocusInEvent(event); }
27 void focusOutEvent(QFocusEvent *event);
28
29public slots:
30 bool checkFilter();
31 void applyDisplayFilter();
32
33private slots:
34 void checkFilter(const QString &filter_text);
35 void clearFilter();
36 void changeEvent(QEvent* event);
37
38 void showFilters();
39 void prepareFilter();
40
41private:
42 QString placeholder_text_;
43
44 void setDefaultPlaceholderText();
45 void buildCompletionList(const QString &field_word, const QString &preamble);
46
47signals:
48 void pushFilterSyntaxStatus(const QString&);
49 void popFilterSyntaxStatus();
50 void pushFilterSyntaxWarning(const QString&);
51 void filterPackets(QString new_filter, bool force);
52};
53
54#endif // FIELDFILTEREDIT_H
Definition field_filter_edit.h:19
Definition stock_icon_tool_button.h:16
Definition syntax_line_edit.h:23