Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > e63754dc5af9f9ec95223fcea9485104 > files > 898

python3-PyQt4-devel-4.8.3-2.fc14.x86_64.rpm

Integrating Python and JavaScript in QtWebKit
=============================================

QtWebKit uses slots to expose class methods implemented in C++ as JavaScript
methods that can be called from scripts embedded in HTML.  Python class
methods that have been decorated behave in exactly the same way.

In the same way, properties created using :func:`~PyQt4.QtCore.pyqtProperty`
are also automatically exposed as JavaScript properties.