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
32private slots:
33 void checkFilter(const QString &filter_text);
34 void changeEvent(QEvent* event);
35
36private:
37 QString placeholder_text_;
38
39 void setDefaultPlaceholderText();
40 void buildCompletionList(const QString &field_word, const QString &preamble);
41
42signals:
43 void pushFilterSyntaxStatus(const QString&);
44 void popFilterSyntaxStatus();
45 void pushFilterSyntaxWarning(const QString&);
46};
47
48#endif // FIELDFILTEREDIT_H
Definition field_filter_edit.h:19
Definition stock_icon_tool_button.h:16
Definition syntax_line_edit.h:23