i'm trying to make QSortFilterProxyModel sort items by duration.
preconditions:
tried to store durations in the source model as H:mm:ss (http://doc.trolltech.com/4.6/qtime.html#toString) if they are one hour or longer, and as m:ss - if less than an hour, but since sorting of QStrings is alphabetical, then, for instance, 5:20 is "more" than 12:09 as its first digit is greater.
is there an elegant way to do the sorting?
By this approach, you can display your QTime data with your approach, and sort correctly.