[PyQt] No matrix in QGraphicsView

Vincent Vande Vyvre vincent.vandevyvre at swing.be
Mon Jul 29 13:38:13 BST 2013


Le 29/07/2013 14:07, Phil Thompson a écrit :
> 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
>
Ok, ... I was into the c++ documentation.

Thanks

-- 
Vincent V.V.
Oqapy <https://launchpad.net/oqapy> . Qarte 
<https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>


More information about the PyQt mailing list