热点 hot spot
报错
- n. 地点;斑点
热点 即光标 箭头的位置,是相对于 图像的左上角来说的,
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.
QDrag *drag = new QDrag(this);
drag->setMimeData(mimeData);
drag->setPixmap(tempPixmap);
drag->setHotSpot(QPoint(0,0)); //设置 拖动时候的热点的位置