Hi seb,<br><br>Andi has recently implemented a new common widget for kipi-plugins dedicated to show a list of images. It support drag and drop, preview, columns customize, and more. <br>It&#39;s already used in SendImages, FlickrExport and RemoveRedEyes plugins, and i plan to patch DNGConverter and RawConverter in this way.<br>
<br>Code is here :<br><br><a href="http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/common/libkipiplugins/imageslist.h?view=markup">http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/common/libkipiplugins/imageslist.h?view=markup</a><br>
<a href="http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/common/libkipiplugins/imageslist.cpp?view=markup">http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/common/libkipiplugins/imageslist.cpp?view=markup</a><br>
<br>I recommend to use this widget in IpodExport to replace this unported code:<br><br><a href="http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/ipodexport/ImageList.h?view=markup">http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/ipodexport/ImageList.h?view=markup</a><br>
<a href="http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/ipodexport/ImageList.cpp?view=markup">http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/ipodexport/ImageList.cpp?view=markup</a><br><a href="http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/ipodexport/ImageListItem.h?view=markup">http://websvn.kde.org/trunk/extragear/graphics/kipi-plugins/ipodexport/ImageListItem.h?view=markup</a><br>
<br>The advantage is to factorize code everywhere and simplify maintenance...<br><br>Let&#39;s me hear if you is agree to use it. Of course, we can adjust KipiPlugins::ImageList api if you need. Also, if you don&#39;t have free time to do it, we can patch your plugin (:=)))<br>
<br>Best<br><br>Gilles Caulier<br>