Abdelrazak Younes wrote:
Pavel Sanda wrote:
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.
Ah yes, I forgot that one, will do.
Done.
Abdel.