Slicer: 2145-support-for-installing-extension-from-file cbcecd95

Author Committer Branch Timestamp Parent
finetjul finetjul 2145-support-for-installing-extension-from-file 2013-04-20 18:06:25 2145-support-for-installing-extension-from-file 61dc2090
Affected Issues 0003081: when dragging and dropping a dicom file or folder into slicer, the dicom widget should be invoked by default
Changeset

ENH: Add drag&drop support for registered IO dialogs.

To support drag&drop, a qSlicerFileDialog derived class should reimplement:

  • qSlicerFileDialog::dragEnterEvent()
  • qSlicerFileDialog::dropEvent()

By default, qSlicerDataDialog supports drag&drop.

Issue 0003081

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21904 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Base/QTGUI/qSlicerDataDialog.cxx Diff File
mod - Base/QTGUI/qSlicerDataDialog.h Diff File
mod - Base/QTGUI/qSlicerDataDialog_p.h Diff File
mod - Base/QTGUI/qSlicerFileDialog.cxx Diff File
mod - Base/QTGUI/qSlicerFileDialog.h Diff File
mod - Base/QTGUI/qSlicerIOManager.cxx Diff File
mod - Base/QTGUI/qSlicerIOManager.h Diff File
mod - Base/QTGUI/qSlicerModelsDialog.h Diff File