showfoto: sort folder by alphabet ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

showfoto: sort folder by alphabet ?

Reinald Gfuellner
showphoto 0.60 : it there a way to change the sort-order of a folder
from "last modified" to "alphabetical"  (in showphoto i.e. without
album-database.)

All fotos are "jhead-renamed by date" but but some fotos are edited.
Workaround ist "touch *" .

Thanks
  Reinald
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: showfoto: sort folder by alphabet ?

Gilles Caulier-4
2008/3/18, Reinald Gfuellner <[hidden email]>:
> showphoto 0.60 : it there a way to change the sort-order of a folder
>  from "last modified" to "alphabetical"  (in showphoto i.e. without
>  album-database.)
>

No, ordering is harcoded. Sorry. no option yet.

Look :

http://bugs.kde.org/show_bug.cgi?id=154478
http://bugs.kde.org/show_bug.cgi?id=147600

It's a begineer task to implement... (:=))) If somebody is motivated
in this room, code relevant is available on "void
ShowFoto::openFolder(const KURL& url)" method :

http://websvn.kde.org/branches/extragear/kde3/graphics/digikam/showfoto/showfoto.cpp?revision=785523&view=markup

... you can see this code:

    // Directory items sorting. Perhaps we need to add any settings in
config dialog.
    dir.setFilter ( QDir::Files | QDir::NoSymLinks );
    dir.setSorting ( QDir::Time );

Of course, a new setting with using a combobox must be added in config
dialog page to set the right method to ordering items in thumbbar when
user open an Url:

http://websvn.kde.org/branches/extragear/kde3/graphics/digikam/showfoto/setup/setupeditor.cpp?revision=785523&view=markup

Best

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users