summary refs log tree commit diff
path: root/include/TextInputWidget.h
diff options
context:
space:
mode:
authorchristarazi <christarazi@users.noreply.github.com>2018-04-10 01:47:23 -0700
committermujx <mujx@users.noreply.github.com>2018-04-10 11:47:23 +0300
commit0b3029b3c48af4bf8aa302c28e66bce771213c94 (patch)
tree18835fdce3a88f58c898224c6eb30703fb9b7d63 /include/TextInputWidget.h
parentHide emoji panel if it's not under the mouse cursor (diff)
downloadnheko-0b3029b3c48af4bf8aa302c28e66bce771213c94.tar.xz
Implement pressing tab to navigate auto completion (#294)
Fixes #287

* Fix pop-up not showing when less than max 

* Select suggestion by pressing Enter
Diffstat (limited to 'include/TextInputWidget.h')
-rw-r--r--include/TextInputWidget.h2
1 files changed, 2 insertions, 0 deletions
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<SearchResult> &results); + void cycleSuggestions(); + void selectHoveredSuggestion(); public slots: void showResults(const QVector<SearchResult> &results);