[PyQt] TableWidget sorting
Hans-Peter Jansen
hpj at urpla.net
Mon Sep 27 21:07:56 BST 2010
[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
More information about the PyQt
mailing list