The script below should display a QWidget with a Qt::SizeAllCursor. Instead it displays a Qt::ClosedHandCursor. Bug?

System information
Linux
Python 2.6.1
Qt 4.5.2
PyQt 4.5.4

Mads

import sys
from PyQt4 import QtCore, QtGui

if __name__ == "__main__":
   app = QtGui.QApplication(sys.argv)

   widget = QtGui.QWidget()
   widget.show()

   cursor = QtGui.QCursor(QtCore.Qt.SizeAllCursor)
   widget.setCursor(cursor)

   sys.exit(app.exec_())

--
+-------------------------------------------------------------+
| Mads Ipsen, Scientific developer                            |
+-------------------------------+-----------------------------+
| QuantumWise A/S               | phone:         +45-29716388 |
| Nørre Søgade 27A              | www:    www.quantumwise.com |
| DK-1370 Copenhagen K, Denmark | email:  m...@quantumwise.com |
+-------------------------------+-----------------------------+


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to