<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
Trying svgViewer.py example I have this error:<br>
<br>
Traceback (most recent call last):<br>
File "svgviewer2.py", line 236, in wheelEvent<br>
factor = QtCore.qPow(1.2, event.delta() / 240.0)<br>
AttributeError: 'module' object has no attribute 'qPow'<br>
<br>
qPow() is undocumented, anymore in Q Assistant.<br>
<br>
I've modified wheelEvent() with<br>
<br>
factor = 1 + 0.1 * event.delta() / 120.0<br>
<br>
and that's work, but I am curious, what makes qPow() ?<br>
<br>
Power ?, not possible, result is too big.<br>
<br>
Cheers<br>
<div class="moz-signature">-- <br>
Vincent V.V.<br>
<a href="https://launchpad.net/oqapy">Oqapy</a></div>
</body>
</html>