Implement pressing tab to navigate auto completion (#294)

Fixes #287

* Fix pop-up not showing when less than max 

* Select suggestion by pressing Enter
This commit is contained in:
christarazi 2018-04-10 01:47:23 -07:00 committed by mujx
parent 5125433552
commit 0b3029b3c4
4 changed files with 73 additions and 3 deletions

View file

@ -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);