[Kde-imaging] Digikam patch - a little C++ help needed

Tom Albers tomalbers at kde.nl
Sun Jun 25 12:55:27 CEST 2006


Wrong list ;-)

digikam-devel at kde.org is better ;-)

Toma

Op zondag 25 juni 2006 13:00, schreef Jens Benecke:
> Hello,
>
> I have prepared (together with Caulier Gilles) a patch that lets the user
> configure the thumbnail and icon size used in Digikam's sidebars (for
> album, tag, search and date views). This patch works fine, the only thing
> missing is the ability to redraw the views when the user actually changes
> the icon size - currently the new setting is only read after a restart of
> Digikam.
>
> I'm guessing I need to emit a signal like iconSizeChanged() upon saving the
> settings, and connect this to a slot that loops over all QListViewItems in
> each sidebar, calling setPixmap() for each one. But I'm not sure exactly
> how to do that, and whether it's the best way.
>
> Can anybody help?
>
>
> Thank you!


More information about the Kde-imaging mailing list