10 #ifndef CAPTURE_FILTER_EDIT_H 11 #define CAPTURE_FILTER_EDIT_H 14 #include <QToolButton> 15 #include <ui/qt/widgets/syntax_line_edit.h> 25 void setConflict(
bool conflict =
false);
29 static QPair<const QString, bool> getSelectedFilter();
32 void paintEvent(QPaintEvent *evt);
33 void resizeEvent(QResizeEvent *);
34 void keyPressEvent(QKeyEvent *event) { completionKeyPressEvent(event); }
35 void focusInEvent(QFocusEvent *event) { completionFocusInEvent(event); }
39 void updateBookmarkMenu();
46 void applyCaptureFilter();
47 void checkFilter(
const QString &filter);
48 void setFilterSyntaxState(QString filter,
int state, QString err_msg);
49 void bookmarkClicked();
54 bool field_name_only_;
55 bool enable_save_action_;
56 QString placeholder_text_;
57 QAction *save_action_;
58 QAction *remove_action_;
64 void buildCompletionList(
const QString& primitive_word);
67 void pushFilterSyntaxStatus(
const QString&);
68 void popFilterSyntaxStatus();
69 void captureFilterSyntaxChanged(
bool valid);
71 void addBookmark(
const QString filter);
75 #endif // CAPTURE_FILTER_EDIT_H Definition: syntax_line_edit.h:22
Definition: capture_filter_syntax_worker.h:17
Definition: capture_filter_edit.h:20