QDrag Class Reference
[QtGui module]
Inherits QObject.
Methods
- __init__ (self, QWidget)
- Qt.DropAction exec (self, Qt.DropActions supportedActions, Qt.DropAction defaultDropAction)
- Qt.DropAction exec_ (self, Qt.DropActions supportedActions = Qt.MoveAction)
- Qt.DropAction exec_ (self, Qt.DropActions, Qt.DropAction defaultDropAction)
- QPoint hotSpot (self)
- QMimeData mimeData (self)
- QPixmap pixmap (self)
- setDragCursor (self, QPixmap, Qt.DropAction)
- setHotSpot (self, QPoint)
- setMimeData (self, QMimeData)
- setPixmap (self, QPixmap)
- QWidget source (self)
- Qt.DropAction start (self, Qt.DropActions supportedActions = Qt.CopyAction)
- QWidget target (self)
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.
QPoint QDrag.hotSpot (self)
QMimeData QDrag.mimeData (self)
QPixmap QDrag.pixmap (self)
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)
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.