[Qt-interest] HTML document + Qt widgets: options ?

Stephen Collyer scollyer at netspinner.co.uk
Thu May 20 21:20:03 CEST 2010


Suppose I wish to display some HTML in a Qt program.
Suppose further that I wish either:

1) to embed Qt widgets (QPushButtons etc) in the displayed
HTML document and to have them interact with the main program

or

2) to have the HTML document interact with the main program,
perhaps by emitting signals based on key presses/ mouse
activity when the document has focus

then what are my options ? As far as I can tell, I can possibly
do a) via Webkit (though I can't find too many details here) but I
have no idea what I could do with, say, QTextEdit/QTextDocument.

Can anyone enlighten me here ? Have I missed any other options ?
Are there any nice examples of this kind of requirement that
I should know about ?

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100520/75499e80/attachment.html 


More information about the Qt-interest-old mailing list