[Digikam-devel] Re: Versioning marks

Marcel Wiesweg marcel.wiesweg at gmx.de
Sat Nov 6 17:48:49 GMT 2010


> because the delegate has no information about the items
> around, so you can't paint one thicker line around all the images for
> example. It could be done by using some heuristics, but I'm afraid that
> this would add too much complexity and would slower things down. I'll see
> what could be done though.

How do you trigger the painting of the border at all?
mouse over -> find related images -> pass a special flag to the delegate when 
painting? The view will know the left and right edge of this "selection" 
(which need not be contiguous btw)


> For LR, look this page :
> 
> http://dpexperience.com/2010/03/05/un-clutter-your-library-with-lightrooms-
> stacks/

The "icon" solution would be an alternative to the current stack. Advantage: 
It does not disturb the visual appearance as much; it provides a space to 
click on. But not on the thumbnail, preferably below in the information area? 
Or in a bottom corner? and not larger than two characters in the smallest 
readable font.


> I can't seem to find the color with which the main rectangle is painted, so
> I used Qt::gray for the while. But they will definitely match at the end.

Have a look at ThemeEngine. The pixmap is prerendered there, there's a border 
color. It's probably not publicly available atm, but could.




More information about the Digikam-devel mailing list