首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

qt 大神都来见见

2013-07-08 
qt 大神都来看看使用 mousePressEvent鼠标画线,如何获取这些点的坐标啊,我想取这些点坐标进行研究鼠标画线

qt 大神都来看看
使用 mousePressEvent鼠标画线,如何获取这些点的坐标啊,我想取这些点坐标进行研究鼠标画线的走向
[解决办法]
virtual voidmouseMoveEvent ( QMouseEvent * event )
QMouseEvent::pos() reports the position of the mouse cursor, relative to this widget.

热点排行