[Qt-interest] QCompleter with QAbstractTableModel or QSortFilterProxyModel ?
Stephen Kelly
steveire at gmail.com
Thu Sep 9 21:12:35 CEST 2010
Till Priemer wrote:
> Then I use a QSortFilterProxyModel for filtering the
> attribute I want. The QCompleter gets the proxyModel as model().
> But the documentation of QCompleter says the only models allowed are list-
> and tree-models !?
http://doc.trolltech.com/latest/qcompleter.html
The model can be a list model, a table model, or a tree model.
>
> why isn't it possible to use QSortFilterProxyModel?
This is possible, yes.
More information about the Qt-interest-old
mailing list