Hello, On Thu, Oct 29, 2009 at 9:21 AM, Mads Ipsen <m...@comxnet.dk> wrote:
> 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 > 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. I tried this using Qt 4.4.0 in C++ to verifiy that it is not a PyQt "problem". Darryl > > 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 > -- ______________________________________ Darryl Wallace: Project Leader ProSensus Inc. McMaster Innovation Park 175 Longwood Road South, Suite 301 Hamilton, Ontario, L8P 0A1 Canada (GMT -05:00) Tel: 1-905-528-9136 Fax: 1-905-546-1372 Web site: http://www.prosensus.ca/ ______________________________________
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt