[Digikam-devel] [Bug 142774] Moving pictures between albums
caulier.gilles at gmail.com
Wed Dec 19 14:46:54 GMT 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------- Additional Comments From caulier.gilles gmail com 2007-12-19 15:46 -------
Created an attachment (id=22623)
Drag & Drop supports over digiKam sidebar...
This patch implement D&d support with digiKam sidebar, like Amarok, but using a
more universal way to do it...
Problem is about KMultiTabBar class from KDE API witch do not provide D&D
Amarok team have re-implemented whole KDE widget to do it... It's a waste of
time (:=))) :
... and of course for Amarok KDE4 port, the widget have been fully
re-implemented from scratch...
My solution is more simple/universal/portable : using QWidget::eventFilter()
This patch fix Digikam::Sidebar in this way. When you drag an album folder or
album items to a sidebar tab button, this one is actived and you toggle
automatically to the right view... to drop items...
This patch do not work with all cases. For ex, you cannot yet D&D from Tag icon
view to Album icon view. More changes need to be done in AlbumIconView class...
I need more time...
Please test this patch against current KDE3 implementation from svn and let's
me ear your viewpoints...
More information about the Digikam-devel