http://doc.qt.nokia.com/4.7-snapshot/qtcore-qmath-h.html#qPow
the name its clear i think is not implemented in pyqt, or it doesnt show in documentation: http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/qtcore.html 2011/4/15 Vincent Vande Vyvre <[email protected]> > 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 <https://launchpad.net/oqapy> > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt >
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
