To associate a cursor with a widget, use QWidget.setCursor(). To associate a cursor with all widgets (normally for a short period of time), use QApplication.setOverrideCursor().
To set a cursor shape use QCursor.setShape() or use the QCursor constructor which takes the shape as argument, or you can use one of the predefined cursors defined in the Qt.CursorShape enum.
If you want to create a cursor with your own bitmap, either use the QCursor constructor which takes a bitmap and a mask or the constructor which takes a pixmap as arguments.
To set or get the position of the mouse cursor use the static methods QCursor.pos() and QCursor.setPos().
Note: It is possible to create a QCursor before QApplication, but it is not useful except as a place-holder for a real QCursor created after QApplication. Attempting to use a QCursor that was created before QApplication will result in a crash.
===========================
Maybe you can set the cursor for the widget you're using, then define some signals & slots.
After you capture the link-click signal, then you set the shape of the cursor.
Hope this helps.
Gui
Andy--
PyQt & PySide的交流信息:
QQ群号: 143061743
邮件列表: pyqt-...@googlegroups.com
---
您收到此邮件是因为您订阅了 Google 网上论坛的“PyQt & PySide”论坛。
要向此网上论坛发帖,请发送电子邮件至 pyqt-...@googlegroups.com。
要取消订阅此网上论坛,请发送电子邮件至 pyqt-pyside...@googlegroups.com。
通过以下网址访问此论坛:http://groups.google.com/group/pyqt-pyside?hl=zh-CN。