August 3, 2010

rikardo rikardo
Ant Farmer
10 posts

QWebPluginFactory::create(..) - how to return content of the element?

 

Is it possible to get element content back in create function not only parameters?

example:

  1. <object  type="text/QtScript" context="listView">
  2. this.clear();
  3. .....
  4. </object>

This would allow me to execute script in embedded HTML in my javascript engine on my backend.

1 reply

August 27, 2010

Benjamin Poulain Benjamin Poulain
Lab Rat
153 posts

I don’t think you can do that directly. A work around would be to extract the content with QWebElement, but then the matching between plugins and content becomes tricky.

 
  ‹‹ Can’t route in bing maps with Qt WebView      is sub-pixel anti-aliasing supported in qtwebkit? ››

You must log in to post a reply. Not a member yet? Register here!