Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
dissector_syntax_line_edit.h
Go to the documentation of this file.
1
10#ifndef DISSECTOR_SYNTAX_LINEEDIT_H
11#define DISSECTOR_SYNTAX_LINEEDIT_H
12
14
15class QEvent;
17
19{
20 Q_OBJECT
21public:
22 explicit DissectorSyntaxLineEdit(QWidget *parent = 0);
23 void updateDissectorNames();
24 void setDefaultPlaceholderText();
25
26protected:
27 void keyPressEvent(QKeyEvent *event) { completionKeyPressEvent(event); }
28 void focusInEvent(QFocusEvent *event) { completionFocusInEvent(event); }
29
30public slots:
31 void checkDissectorName(const QString &dissector);
32
33private slots:
34 void changeEvent(QEvent* event);
35
36private:
37 QString placeholder_text_;
38
39 void buildCompletionList(const QString &field_word, const QString &preamble);
40};
41
42#endif // DISSECTOR_SYNTAX_LINEEDIT_H
Definition dissector_syntax_line_edit.h:19
Definition stock_icon_tool_button.h:16
Definition syntax_line_edit.h:23