关于QWidget子类的mouseMove事件

今天发现鼠标移动的时候,并不会产生鼠标移动事件,可是鼠标按下后就会触发了,看了qt的文档html 文档中也是这么说,https://doc.qt.io/qt-5/qwidget.html#mouseMoveEvent性能 若是想要实时监听鼠标移动事件,须要调用code setMouseTracking(true);   ======================htm 若是mouseMove中移
相关文章
相关标签/搜索