在 QtWebKit 中集成 Python 和 JavaScript

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 pyqtProperty() are also automatically exposed as JavaScript properties.

上一话题

集成 Python 和 QML

下一话题

支持腌制