Hi,

Trying svgViewer.py example I have this error:

Traceback (most recent call last):
  File "svgviewer2.py", line 236, in wheelEvent
    factor = QtCore.qPow(1.2, event.delta() / 240.0)
AttributeError: 'module' object has no attribute 'qPow'

qPow() is undocumented, anymore in Q Assistant.

I've modified wheelEvent() with

    factor = 1 + 0.1 * event.delta() / 120.0

and that's work, but I am curious, what makes qPow() ?

Power ?, not possible, result is too big.

Cheers
--
Vincent V.V.
Oqapy
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to