10#ifndef FIELDFILTEREDIT_H
11#define FIELDFILTEREDIT_H
68 void changeEvent(QEvent*
event)
override;
72 QString placeholder_text_;
77 void setDefaultPlaceholderText();
84 void buildCompletionList(
const QString &field_word,
const QString &preamble)
override;
void focusInEvent(QFocusEvent *event) override
Handles focus in events, triggering completion logic if necessary.
Definition field_filter_edit.h:42
void pushFilterSyntaxStatus(const QString &status)
Signal emitted to display a syntax status message.
void pushFilterSyntaxWarning(const QString &warning)
Signal emitted to display a syntax warning message.
FieldFilterEdit(QWidget *parent=0)
Constructs a new FieldFilterEdit.
Definition field_filter_edit.cpp:37
bool checkFilter()
Checks the validity of the current filter text.
Definition field_filter_edit.cpp:66
void keyPressEvent(QKeyEvent *event) override
Handles key press events, routing them to completion logic.
Definition field_filter_edit.h:36
void popFilterSyntaxStatus()
Signal emitted to remove or pop the current syntax status message.
void focusOutEvent(QFocusEvent *event) override
Handles focus out events.
Definition field_filter_edit.cpp:59
SyntaxLineEdit(QWidget *parent=0)
Constructs the SyntaxLineEdit in the Empty state with no completer.
Definition syntax_line_edit.cpp:37
void completionKeyPressEvent(QKeyEvent *event)
Handles key press events while the completer popup is visible, forwarding navigation keys to the popu...
Definition syntax_line_edit.cpp:336
void completionFocusInEvent(QFocusEvent *event)
Triggers a completion refresh when the widget gains focus.
Definition syntax_line_edit.cpp:384
virtual bool event(QEvent *event) override
Intercepts Tab and other keys to trigger or dismiss the completer.
Definition syntax_line_edit.cpp:299