[PyQt] No matrix in QGraphicsView

Phil Thompson phil at riverbankcomputing.com
Mon Jul 29 13:07:49 BST 2013


On Mon, 29 Jul 2013 13:22:15 +0200, Vincent Vande Vyvre
<vincent.vandevyvre at swing.be> wrote:
> Hi,
> 
> Python 3.2.3 (default, Apr 10 2013, 06:11:55)
> [GCC 4.6.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> from PyQt5.QtWidgets import QGraphicsView as gv
>  >>> m = gv.matrix()
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
> AttributeError: type object 'QGraphicsView' has no attribute 'matrix'
> 
> 
> PyQt-5.0 on Ubuntu 12.04

http://pyqt.sourceforge.net/Docs/PyQt5/pyqt4_differences.html#qmatrix

Phil


More information about the PyQt mailing list