查看完整版本: [--
有什么办法不通过鼠标触发鼠标事件
--]
QTCN开发网
->
其它技术开发讨论区
->
有什么办法不通过鼠标触发鼠标事件
[打印本页]
登录
->
注册
->
回复主题
->
发表主题
itachiye
2020-10-01 19:18
有什么办法不通过鼠标触发鼠标事件
除了调用win API ,想过使用单例模式保存 QGraphicsSceneMouseEvent 的event,然后调用
sce
ne->mouseEvent(event)的时候直接传这个参数进去,但是到这一步就中断了,各位大牛们有什么办法吗?
20091001753
2020-10-01 21:58
如果是Qt程序,自己操纵自己,你直接调用控件的槽函数,岂不是更方便。
查看完整版本: [--
有什么办法不通过鼠标触发鼠标事件
--] [--
top
--]
Powered by
phpwind
v8.7
Code ©2003-2011
phpwind
Gzip disabled