10#ifndef FIELDFILTEREDIT_H
11#define FIELDFILTEREDIT_H
68 void changeEvent(QEvent*
event);
72 QString placeholder_text_;
77 void setDefaultPlaceholderText();
84 void buildCompletionList(
const QString &field_word,
const QString &preamble);
A specialized line edit for entering and validating field filters with auto-completion.
Definition field_filter_edit.h:22
void focusInEvent(QFocusEvent *event)
Handles focus in events, triggering completion logic if necessary.
Definition field_filter_edit.h:42
void keyPressEvent(QKeyEvent *event)
Handles key press events, routing them to completion logic.
Definition field_filter_edit.h:36
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.
bool checkFilter()
Checks the validity of the current filter text.
Definition field_filter_edit.cpp:66
void popFilterSyntaxStatus()
Signal emitted to remove or pop the current syntax status message.
void focusOutEvent(QFocusEvent *event)
Handles focus out events.
Definition field_filter_edit.cpp:59
QLineEdit subclass that adds syntax-state colouring, error messaging, and partial token-based autocom...
Definition syntax_line_edit.h:28
virtual bool event(QEvent *event)
Intercepts Tab and other keys to trigger or dismiss the completer.
Definition syntax_line_edit.cpp:295
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:333
void completionFocusInEvent(QFocusEvent *event)
Triggers a completion refresh when the widget gains focus.
Definition syntax_line_edit.cpp:381