Home · All Classes · Modules

QDrag Class Reference
[QtGui module]

Inherits QObject.

Methods

Qt Signals


Detailed Description


Method Documentation

QDrag.__init__ (self, QWidget)

The QWidget argument, if not None, causes self to be owned by Qt instead of PyQt.

Qt.DropAction QDrag.exec (self, Qt.DropActions supportedActions, Qt.DropAction defaultDropAction)

Qt.DropAction QDrag.exec_ (self, Qt.DropActions supportedActions = Qt.MoveAction)

Qt.DropAction QDrag.exec_ (self, Qt.DropActions, Qt.DropAction defaultDropAction)

QPoint QDrag.hotSpot (self)

QMimeData QDrag.mimeData (self)

QPixmap QDrag.pixmap (self)

QDrag.setDragCursor (self, QPixmap, Qt.DropAction)

QDrag.setHotSpot (self, QPoint)

QDrag.setMimeData (self, QMimeData)

The QMimeData argument has it's ownership transferred to Qt.

QDrag.setPixmap (self, QPixmap)

QWidget QDrag.source (self)

Qt.DropAction QDrag.start (self, Qt.DropActions supportedActions = Qt.CopyAction)

QWidget QDrag.target (self)


Qt Signal Documentation

void actionChanged (Qt::DropAction)

This is the default overload of this signal.

void targetChanged (QWidget *)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0