Version: 2.0.3 OS: MS Windows It would be useful to add a drag & drop capability: -from the file explorer, drag and drop a .kst file make it open (and ask before for saving the current session if needed) -from the file explorer, drag and drop another type of file open the data wizard (and ask before if the current session shall be saved and closed or if this new data file shall be added to the current session) Reproducible: Didn't try OS: Windows 32-Bit
This shouldn't be too hard to implement. Tentatively set the target to 2.0.5
SVN commit 1284152 by brisset: Add drag&drop feature: - if dropping a .kst file, open it after checking what needed to be saved has been saved - if dropping something else, open it in the datawizard The prompt to save feature in case of change has been refactored along the way to make it more readable code-wise. I hope I haven't broken anything. The reason why our previous attempt had not been conclusive is that we have to setAcceptDrops(false) all the way down the parent chain: _tabWidget *and* View. Note: my tests exposed a bug: adding view items is not registered as a change. This should be fixed! M +45 -19 mainwindow.cpp M +4 -1 mainwindow.h M +2 -0 scene.cpp M +2 -0 view.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1284152