<div class="gmail_quote">Hello,<br><br>On Thu, Oct 29, 2009 at 9:21 AM, Mads Ipsen <span dir="ltr">&lt;<a href="mailto:mpi@comxnet.dk">mpi@comxnet.dk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The script below should display a QWidget with a Qt::SizeAllCursor. Instead it displays a Qt::ClosedHandCursor. Bug?<br>
<br>
System information<br>
Linux<br>
Python 2.6.1<br>
Qt 4.5.2<br>
PyQt 4.5.4<br></blockquote><div>
<br>
I am using Ubuntu and the Qt::SizeAllCursor actually looks like a
closed hand.  If you try the Qt::ClosedHandCursor, it looks like a
slightly different cursor.<br>
<br>
I tried this using Qt 4.4.0 in C++ to verifiy that it is not a PyQt &quot;problem&quot;.<br>
<br>
Darryl<br><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Mads<br>
<br>
import sys<br>
from PyQt4 import QtCore, QtGui<br>
<br>
if __name__ == &quot;__main__&quot;:<br>
   app = QtGui.QApplication(sys.argv)<br>
<br>
   widget = QtGui.QWidget()<br>
   widget.show()<br>
<br>
   cursor = QtGui.QCursor(QtCore.Qt.SizeAllCursor)<br>
   widget.setCursor(cursor)<br>
<br>
   sys.exit(app.exec_())<br>
<br>
-- <br>
+-------------------------------------------------------------+<br>
| Mads Ipsen, Scientific developer                            |<br>
+-------------------------------+-----------------------------+<br>
| QuantumWise A/S               | phone:         +45-29716388 |<br>
| Nørre Søgade 27A              | www:    <a href="http://www.quantumwise.com" target="_blank">www.quantumwise.com</a> |<br>
| DK-1370 Copenhagen K, Denmark | email:  <a href="mailto:mpi@quantumwise.com" target="_blank">mpi@quantumwise.com</a> |<br>
+-------------------------------+-----------------------------+<br>
<br>
<br>
_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com" target="_blank">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>______________________________________<br>Darryl Wallace: Project Leader<br>ProSensus Inc.<br>McMaster Innovation Park<br>175 Longwood Road South, Suite 301<br>Hamilton, Ontario, L8P 0A1<br>
Canada        (GMT -05:00) <br><br>Tel:       1-905-528-9136<br>Fax:       1-905-546-1372<br><br>Web site:  <a href="http://www.prosensus.ca/">http://www.prosensus.ca/</a><br>______________________________________<br>