hot spot 热点 setHotSpot()
2016-03-22 14:13
369 查看
热点 hot spot
spot 报错
n. 地点;斑点
热点 即光标 箭头的位置,是相对于 图像的左上角来说的,
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)); //设置 拖动时候的热点的位置
spot 报错
英 [spɒt] 美 [spɑt] 全球发音 跟读 口语练习
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)); //设置 拖动时候的热点的位置
相关文章推荐
- 洛谷P1415 拆分数列
- 判断当前viewcontroller是push还是present的方式显示的
- 大型网站架构不得不考虑的 10 个问题
- spring MVC 时间转date(四)--mybatis传入起始时间时,但这传入时间的参数不是bean里的解法
- SYNONYMS
- 程序心谈
- HDU 3605(多重最大匹配)
- 每天一个linux命令(1):ls命令
- 关于this指针
- Xcode编译: pngcrush caught libpng error解决方法
- RCP的插件开发的简单知识
- latex使用相关
- 第四周项目16-递归求Fibnacci数
- 中国菜刀Cknife(C刀)自定义模式秒过安全狗. php过狗一句话,asp过狗一句话.
- android manifest简介
- sns社区架构设计案例分享
- xshell的快捷键(很有用)
- final域的内存语义
- ORACLE ADF11g : Taskflow入门
- Java 多态详解