[mythtv] [mythtv-commits] Ticket #1760: Add sort order selection to menu for MythGallery

Herman Kuiper herman at frontier.nl
Wed May 3 08:32:02 UTC 2006

> Unless  iconview.cpp was totally rewritten to handle sorting itself I 
> think sorting by EXIF header date can be supported.

I think it might be not that bad: looking at iconview.cpp, it uses a 
QFileInfoList to iterate through the QDir results. Using an extended 
QPtrList with its own compareItems() instead migth do the trick, and using 
the QPtrList's sort() only if we need to sort on EXIF date.


Herman Kuiper - m: herman at frontier.nl - w: http://www.frontier.nl
Beech Ave 162 - 1119 PS  Schiphol-Rijk - t/f: 020-6589034/6142816

More information about the mythtv-dev mailing list