From 0b3029b3c48af4bf8aa302c28e66bce771213c94 Mon Sep 17 00:00:00 2001 From: christarazi Date: Tue, 10 Apr 2018 01:47:23 -0700 Subject: Implement pressing tab to navigate auto completion (#294) Fixes #287 * Fix pop-up not showing when less than max * Select suggestion by pressing Enter --- include/TextInputWidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/TextInputWidget.h') diff --git a/include/TextInputWidget.h b/include/TextInputWidget.h index 927187dd..89eb5947 100644 --- a/include/TextInputWidget.h +++ b/include/TextInputWidget.h @@ -73,6 +73,8 @@ signals: //! Trigger the suggestion popup. void showSuggestions(const QString &query); void resultsRetrieved(const QVector &results); + void cycleSuggestions(); + void selectHoveredSuggestion(); public slots: void showResults(const QVector &results); -- cgit 1.5.1