6 Commits

Author SHA1 Message Date
Nyall Dawson
06ee6f68e1 Expand docs 2017-09-15 18:53:29 +10:00
Nyall Dawson
0df4f4a974 Make QgsCustomDropHandler a QObject, and only store weak pointers to them
This means if a plugin registers a custom drop handler, but crashes
before it can deregister it, at least it won't leave the main
app in a crashy state.
2017-09-15 18:39:51 +10:00
Nyall Dawson
527bce09ae Allow QgsCustomDropHandlers to directly operate mime data
and dropped file names

This allows QgsCustomDropHandlers which aren't directly associated
with providers (e.g. for plugins to handle dropped files of
a certain type)
2017-09-15 18:39:51 +10:00
Denis Rouzaud
3f0017a46d sipify gui part 2 2017-05-24 15:22:09 +02:00
Denis Rouzaud
93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00
Martin Dobias
b4fe9002d8 [FEATURE] API to allow drag'n'drop of custom browser items
QgsDataItem implementations may provide hasDragEnabled(), mimeUri()
and QgsCustomDropHandler implementation to deal with drop of custom items.
2016-08-09 08:49:42 +02:00