Vermont-EPSCoR / Macroinvertebrates

Macroinvertebrates Mobile App - Qt Version
MIT License
2 stars 0 forks source link

Instant Search? #37

Closed pclemins closed 8 years ago

pclemins commented 8 years ago

Can we make the search box on the Stream list screen update the streams as you type?

MorganRodgers commented 8 years ago

The events keyPressEvent, keyReleaseEvent on the main widget, or the textEdited signal on the LineEdit itself only fire after the device's softkeyboard returns. So I don't think that there is a way to do this from C++. There might be a way to do it from Android's native Java, but I'd put that off until a later version.

MorganRodgers commented 8 years ago

This seems to be keyboard dependent. The Hacker's Keyboard in landscape orientation gives a live update on each key stroke. If we provided our own keyboard implementation we might be able to get live updates.