From 387cf24e389854ecc97f6236fdd6acbc2486dd52 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 15 Mar 2025 19:17:03 +0530 Subject: Replaced QCompleter with custom implementation --- include/widgets/InputLine.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/widgets') diff --git a/include/widgets/InputLine.hpp b/include/widgets/InputLine.hpp index 07b6e92..45aa559 100644 --- a/include/widgets/InputLine.hpp +++ b/include/widgets/InputLine.hpp @@ -21,7 +21,9 @@ public: DELEGATE(input, hasFocus, isInputFocussed) DELEGATE(input, setText, setInputText) DELEGATE(input, text, getInputText) - DELEGATE(adapterInstance, prompt, prompt) + DELEGATE(promptPrefix, text, prompt) + + // bool eventFilter(QObject *obj, QEvent *event) override; signals: void submitted(QString text); @@ -32,7 +34,6 @@ protected: void emitSubmit(); private: - QBoxLayout *layout; QLineEdit *input; QLabel *promptPrefix; Adapter *adapterInstance = nullptr; -- cgit v1.3.1