never mind...
I took another look at the Completer example and I think I should just use a QStandardItemModel with an additional column for use as index and not show it.
I'll report back when I get it to work.