1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:37:35 +00:00

FileManager: Use FileOperation to perform drag&drop copy out-of-process

And display the progress of the copy operation in a separate window. :^)

Note that this patch only updates the drag&drop code path to use the new
mechanism. We still have to go through FileManager and make use of this
everywhere.

We also need to support additional operations, like Move, Delete, etc.

Still, this is quite cool! :^)
This commit is contained in:
Andreas Kling 2021-04-12 20:32:40 +02:00
parent 4205038c45
commit f54e290548
5 changed files with 292 additions and 6 deletions

View file

@ -1,9 +1,12 @@
compile_gml(FileManagerWindow.gml FileManagerWindowGML.h file_manager_window_gml)
compile_gml(FileOperationProgress.gml FileOperationProgressGML.h file_operation_progress_gml)
set(SOURCES
DesktopWidget.cpp
DirectoryView.cpp
FileManagerWindowGML.h
FileOperationProgress.gml
FileOperationProgressWidget.cpp
FileUtils.cpp
main.cpp
PropertiesWindow.cpp