The QImageDrag provides a drag-and-drop object for tranferring images. More...
#include <qdragobject.h>
Inherits QDragObject.
Images are offered to the receiving application in multiple formats, determined by the output formats in Qt.
For detailed information about drag-and-drop, see the QDragObject class.
Creates an image drag object and sets it to image. dragSource must be the drag source, name is the object name.
Creates a default text drag object. dragSource must be the drag source, name is the object name.
Destroys the image drag object and frees all allocated resources.
[static]
Returns TRUE if the information in e can be decoded into an image.
See also: decode().
[static]
Attempts to decode the dropped information in e into img, returning TRUE if successful.
See also: canDecode().
[static]
Attempts to decode the dropped information in e into pm, returning TRUE if successful.
This is a convenience function that converts to pm via a QImage.
See also: canDecode().
Sets the image to be dragged. You will need to call this if you did not pass the image during construction.
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit, copyright © 1995-98 Troll Tech, all rights reserved.
It was generated from the following files:
Copyright © 1998 Troll Tech | Trademarks | Qt version 1.42
|