[Hugo, please don't hijack threads, e.g. don't hit reply in a thread, 
better just click on the list email address (hopefully, your webmailer 
supports that)]

On Monday 27 September 2010, 20:07:58 Hugo Léveillé wrote:
> I'd like to sort by number size instead of alpha order. Cause by
> default, for exemple, 9199 will be before 92. I checked or
> Qt.SortOrder but only found Qt.AscendingOrder and
> Qt.DescendingOrder

A model based example is, thanks to David Boddie, available here:

http://diotavelli.net/PyQtWiki/Sorting numbers in columns

Pete
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to