Abdelrazak Younes wrote:
>>  I read a bit docu nevertheless... it seems that using
>>  QSortFilterProxyModel instead of QStandardItemModel could do the job.
>>  QSortFilterProxyModel is local aware ( see setSortLocaleAware()). So,
>>  with a bit of work, we can make this happen. The advantage of going
>>  that way is that we could then reuse the method for other list in our
>>  dialogs.
>
> FYI I did that:

thanks. it works in preferences dialog. text style dialog combo remains
completely unsorted, dunno if its intended.

> +     // FIXME: it would be nice if sorting was enabled/disabled via a 
> checkbox.

i dont understand the purpose of this checkbox. whats the point of having it
disabled?

pavel

Reply via email to