Home · All Classes · Modules |
The QMimeSource class is an abstraction of objects that provided formatted data of a certain MIME type. More...
Inherited by QDropEvent.
The QMimeSource class is an abstraction of objects that provided formatted data of a certain MIME type.
The preferred approach to drag and drop is to use QDrag in conjunction with QMimeData. See Drag and Drop for details.
This method is abstract and should be reimplemented in any sub-class.
Returns the encoded data of this object in the specified MIME format.
This method is abstract and should be reimplemented in any sub-class.
Returns the (i - 1)-th supported MIME format, or 0.
Returns true if the object can provide the data in format mimeType; otherwise returns false.
If you inherit from QMimeSource, for consistency reasons it is better to implement the more abstract canDecode() functions such as QTextDrag.canDecode() and QImageDrag.canDecode().
PyQt 4.10.1 for MacOS | Copyright © Riverbank Computing Ltd and Nokia 2012 | Qt 4.8.4 |