Qt 有一个方法 QDrag::setHotSpot()
哪一个
sets the position of the hot spot relative to the top-left corner of the pixmap used to the point specified by hotspot.
但什么是热点及其功能?你会如何定义它?
最佳答案
热点基本上定义了拖动操作正在进行时拖动的像素图应位于的位置。
看看这个 drag & drop example看看它通常是如何使用的。
关于qt - Qt拖放中的热点是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45502713/