From 5a2a6aef3703d6aaaee24d9436da9e60ffcae769 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 16 Mar 2025 00:33:33 +0530 Subject: Fix UI issues with inputline and completer --- include/widgets/InputLine.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/widgets/InputLine.hpp') diff --git a/include/widgets/InputLine.hpp b/include/widgets/InputLine.hpp index 45aa559..d5f65be 100644 --- a/include/widgets/InputLine.hpp +++ b/include/widgets/InputLine.hpp @@ -14,6 +14,7 @@ class InputLine : public QWidget { public: InputLine(QString defaultInput = "", QWidget *parentNode = nullptr); + void setInputFocus(bool focussed); bool isInputFocussed(); void setAdapter(Adapter *adapter); @@ -37,4 +38,5 @@ private: QLineEdit *input; QLabel *promptPrefix; Adapter *adapterInstance = nullptr; + QVBoxLayout *layout; }; -- cgit v1.3.1