[Qt-interest] narrowing down list in QListView w/ autocompletion in realtime
Francesco Lamonica
alienpenguin at gmail.com
Wed Jul 20 08:36:39 CEST 2011
Hi Matthias,
have you tried setting the model for the listview using
theQAbstractItemModel* returned by QCompleter::completionModel()? i
think that does exactly what you need.
best regards
On Tue, Jul 19, 2011 at 7:37 PM, Matthias Dahl
<ml_qt-interest at binary-island.eu> wrote:
> Hi André.
>
>> Did you look into using a QSortFilterProxyModel between your model and
>> your view?
>
> Thanks a lot for that push in the right direction. :) I was so fixated on QCompleter
> that I was absolutely blind. Worked like a charm with QSortFilterProxyModel...
>
> So long,
> matthias
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
More information about the Qt-interest-old
mailing list