python PyQt5.QtWidgets.QWidget.mouseMoveEvent()函数
生活随笔
收集整理的這篇文章主要介紹了
python PyQt5.QtWidgets.QWidget.mouseMoveEvent()函数
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文章目錄
- 官方介紹
官方介紹
https://doc.qt.io/qtforpython/PySide2/QtWidgets/QWidget.html?highlight=mousemoveevent#PySide2.QtWidgets.PySide2.QtWidgets.QWidget.mouseMoveEvent
- mouseMoveEvent() is called whenever the mouse moves while a mouse button is held down. This can be useful during drag and drop operations. If you call setMouseTracking (true), you get mouse move events even when no buttons are held down. (See also the Drag and Drop guide.)
總結
以上是生活随笔為你收集整理的python PyQt5.QtWidgets.QWidget.mouseMoveEvent()函数的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python PyQt5.QtWidge
- 下一篇: 为什么Intel Realsense D