Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

void QDrag::setHotSpot ( const QPoint hotspot  ) 

Sets the position of the hot spot relative to the top-left corner of the pixmap used to the point specified by hotspot.

{Note:} on X11, the pixmap may not be able to keep up with the mouse movements if the hot spot causes the pixmap to be displayed directly under the cursor.

Definition at line 190 of file qdrag.cpp.

Referenced by Q3DragObject::drag(), and QAbstractItemView::startDrag().

    d->hotspot = hotspot;

Generated by  Doxygen 1.6.0   Back to index