Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 28b9e36e96ce34b2567ae5b47a27b2c5 > files > 27

python-qt4-doc-4.10.3-3.mga4.noarch.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.