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



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

    example:
    @<object type="text/QtScript" context="listView">
    this.clear();
    .....
    </object>@

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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.