Closed caver456 closed 1 year ago
QAbstractItemModel.match is probably useful
Probably easier than QAbstractItemModel.match: use a completer (like the sartopo_address project). This will list all the possible matches on-the-fly (as the user types) in a lineEdit. This is already working in preliminary code.
It would be good to show the team number and time on-the-fly as well, but even if not, selecting a line from the completer can select that team's tab, and scroll the main log and the team log to that entry.
Still need to build the list (or model) to be searched - preliminary code just uses a simple list.
Also need to see if this is fast enough to search a huge radiolog. If not, one option is to not start the completer until some minimum number of characters have been typed.
implement a standard Ctrl-F feature