QSortFilterProxyModel::dynamicSortFilter
Verfasst: 24. Juni 2008 15:37
Hi alle!
Ich habe ein Proxymodel über mein sourcemodel gelegt um strings in einer Tabelview sortieren zu lassen.
Das merkwürdige ist aber, wenn ich neue strings eintrage, werden diese automatisch mitsortiert obwohl das property "dynamicSortFilter" of false steht...
Auszug aus Doku:
"This property holds whether the proxy model is dynamically sorted and filtered whenever the contents of the source model change.
The default value is false."
Hat jemand eine Idee?
Cheers,
Mike
Ich habe ein Proxymodel über mein sourcemodel gelegt um strings in einer Tabelview sortieren zu lassen.
Das merkwürdige ist aber, wenn ich neue strings eintrage, werden diese automatisch mitsortiert obwohl das property "dynamicSortFilter" of false steht...
Auszug aus Doku:
"This property holds whether the proxy model is dynamically sorted and filtered whenever the contents of the source model change.
The default value is false."
Hat jemand eine Idee?
Cheers,
Mike