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

在mouseevent 事件中能不能动态的存取鼠标挪动走过的坐标点

2013-08-01 
在mouseevent 事件中能不能动态的存取鼠标移动走过的坐标点QListQPoint m_listPoints 点的容器,m_listP

在mouseevent 事件中能不能动态的存取鼠标移动走过的坐标点
QList<QPoint> m_listPoints; 点的容器,
m_listPoints.push_back 能不能够动态的获取event->pos()的坐标点
移动开发 鼠标
[解决办法]
应该是你获取event->pos()的坐标点后,存入m_listPoints容器中。

热点排行