diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-03-15 19:17:03 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-03-15 20:08:30 +0530 |
| commit | 387cf24e389854ecc97f6236fdd6acbc2486dd52 (patch) | |
| tree | a51b51de0064fb10685d2da85d11748c4a32ce73 /include/widgets | |
| parent | 05ae8976a8e1ab5411058de244c4e2fcc87ec369 (diff) | |
| download | null-browser-387cf24e389854ecc97f6236fdd6acbc2486dd52.tar.gz null-browser-387cf24e389854ecc97f6236fdd6acbc2486dd52.zip | |
Replaced QCompleter with custom implementation
Diffstat (limited to 'include/widgets')
| -rw-r--r-- | include/widgets/InputLine.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
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; |
