Lv.的博客
摘要: 在监测的代码里执行需要的行为. 这可以用event Filter来达到. 设置一个event filter有两个步骤:1. 在目标对象上调用installEventFilter(),将监测对象注册到目标对象上.2. 在监测对象的eventFilter()方法里处理目标对象的事件.在ctor里注册监测... 阅读全文
posted @ 2014-08-30 22:45 Avatarx 阅读(1249) 评论(0) 推荐(0)