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.
我想为我创建一些手势QQuickPaintedItem 在普通的 QWidgets 中我们有方法gestureEvent(QGestureEvent *event)(看这里)
QQuickPaintedItem
gestureEvent(QGestureEvent *event)
但是如何在 QQuickItem 中获取这些事件?