Improve search.

Find as you type.
Add shortcut.
Hide search widgets when not used.

Refs #24
This commit is contained in:
Florian Geyer 2012-05-19 11:53:32 +02:00
parent 4a1423da88
commit e4a5cd214f
10 changed files with 182 additions and 39 deletions

View file

@ -104,6 +104,7 @@ Entry* EntryView::entryFromIndex(const QModelIndex& index)
void EntryView::switchToSearch()
{
sortByColumn(1, Qt::AscendingOrder); // TODO: should probably be improved
sortByColumn(0, Qt::AscendingOrder);
showColumn(0);
m_inSearch = true;