]> cloud.milkyroute.net Git - dolphin.git/commit
Add drag-open animation
authorFelix Ernst <felixernst@zohomail.eu>
Sun, 18 Feb 2024 12:15:18 +0000 (13:15 +0100)
committerFelix Ernst <felixernst@kde.org>
Fri, 23 Feb 2024 10:19:39 +0000 (10:19 +0000)
commit94828aa307af32191124d4fb8c0033a365dc3568
tree7d8adddf34132ddc36a6600548a11aac0c4e4ab5
parent796332d63a32e6fdea83001f4a14c03a8b81228b
Add drag-open animation

This commit adds an animation for folders that makes clear that
they will open or expand soon. This is the case when the option to
open folders during drag operations is enabled and a user drags an
item on top of a folder.

The animation goes like this:
- Replace the folder's icon with the "folder-open" icon
- Go back to the folder's original icon
- Replace the folder's icon with the "folder-open" icon once more
src/kitemviews/kitemlistcontroller.cpp
src/kitemviews/kitemlistwidget.cpp
src/kitemviews/kitemlistwidget.h
src/kitemviews/kstandarditemlistwidget.cpp
src/kitemviews/kstandarditemlistwidget.h