PyVersion = QtCore. """Python interpreter version property.""" ![]() """Open a message box and display the specified message.""" """Simple class with one slot and one read-only showMessage(self, msg): ![]() It can render web pages as well as run javascript and It have the possibility to be included in a desktop application. The QtWebKit is a implementation of Webkit for the Qt Widgets interface. I have been experimenting with Qt and one of the most powerful collection of widgets that it have: The QtWebKit. Qt will automatically expose Qt-slots and Qt-properties to a JavaScript when a QObject is made available in the frame's JavaScript context.įrom PyQt4 import QtCore, QtGui, QtWebKitĭocument.write('Python ' + pyObj.pyVersion + '') Very Simple Web Browser On PyQt4 and WebKit. ![]() QtWebKit makes it very easy to expose methods and properties implemented in Python to JavaScript.
0 Comments
Leave a Reply. |