Extend QListWidget to handle drag and drop functionality
Provide a list widget to store objects and handle drag and drop events
Activate DnD of widget
Re-implement clear, so that we can customise feedback when using ‘Search as you type’
Parameters: search_while_typing – True if we want to display the customised message Returns: None
When something is dragged into this object, check if you should be able to drop it in here.
Make an object droppable, and set it to copy the contents of the object, not move it.
Receive drop event check if it is a file and process it if it is.
Parameters: event – Handle of the event pint passed
Drag and drop event does not care what data is selected as the recipient will use events to request the data move just tell it what plugin to call
Re-implement paintEvent so that we can add ‘No Results’ text when the listWidget is empty.
Parameters: event – A QPaintEvent Returns: None