Mads Ipsen wrote:
Hey,
I want to display a widget as disabled (setEnabled(False)) with its
cursor set to Qt.WaitCursor.
Disabling the widget, however, always display the widget with a normal
Qt.ArrowCursor if if the cursor is changed. How do I obtain a disabled
widget with a Qt.WaitCursor?
i suppose this is because disabled widgets don't handle mouse events.
put the widget inside a container widget (which always stays enabled),
and then set the cursor on the container.
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt