Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于一个项目,我编写了自己的QWidget. 这个小部件包括一个QDeclarativeView表示 QML 的 ListView。对于我的小部件,我实现了一个事件过滤器。问题是,这不是在QDeclarativeView. 我已将过滤器安装installEventFilter到视图中。但它不会触发。
QWidget
QDeclarativeView
installEventFilter
它出什么问题了?
问候