Wireshark  4.3.0
The Wireshark network protocol analyzer
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 
15 class QEvent;
17 
19 {
20  Q_OBJECT
21 public:
22  explicit DissectorSyntaxLineEdit(QWidget *parent = 0);
23 
24 protected:
25  void keyPressEvent(QKeyEvent *event) { completionKeyPressEvent(event); }
26  void focusInEvent(QFocusEvent *event) { completionFocusInEvent(event); }
27 
28 private slots:
29  void checkDissectorName(const QString &dissector);
30  void changeEvent(QEvent* event);
31 
32 private:
33  QString placeholder_text_;
34 
35  void setDefaultPlaceholderText();
36  void buildCompletionList(const QString &field_word, const QString &preamble);
37 };
38 
39 #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