[PyQt] complete webkit examples collection

Hans-Peter Jansen hpj at urpla.net
Mon Nov 29 13:44:26 GMT 2010

Hi Phil, hi *,

attached are a collection of the webkit examples:


A few notes:
They demonstrate different aspects in using the webkit, and how 
javascript code and the webkit object model interact with PyQt code.

Most are transcoded 1:1 from their C++ originals. I made a few 
adjustments in naming the ui files and classes for consistence and in 
order to not interfere with others. That allows them being kept 
together in a single folder. 

fancybrowser.py is a _very_ simple, but funny browser which shows 
gimmicks like turning images upside down, and modifying the displayed 
page by removing some elements.

The command line program framecapture.py differs from the original in 
such a way, that it is possible to capture page images from sites like 
http://spiegel.de correctly (basically an awfully tall page), where the 
original fails to render everything below a screen height worth of 

simpleselector.py is slightly improved in that it reverts the last 
action before applying the next. Hence, it is possible to revert any 
changes by highlighting an empty element.

From the statistical department, it's worth to note, that all scripts 
together with all auxiliary source files (ui, resources) are about the 
same size as the single jquery module used by fancybrowser!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit-20101129.tar.bz2
Type: application/x-tbz
Size: 28960 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101129/8db6e8ec/attachment-0001.bin>

More information about the PyQt mailing list