from PySide.QtGui import QApplication, QCursor, QPixmap app = QApplication([]) cursor = QCursor(QPixmap('path/to/image.png')) app.setOverrideCursor(cursor)
from PySide.QtGui import QApplication, QCursor app = QApplication([]) cursor = QCursor() app.setOverrideCursor(cursor) cursor.setShape(0) # 0 is the enum value for hiding the cursor
from PySide.QtGui import QApplication, QCursor app = QApplication([]) cursor = QCursor() cursor.setPos(100, 100) # set cursor position to (100, 100) app.setOverrideCursor(cursor)Overall, the PySide QtGui QCursor module provides a flexible and intuitive way to manipulate the system cursor in a PyQt/PySide application.