Hi,
QWebPluginFactory is just what I've been missing in QtWebKit up until now --
some suggestings to make it even better:
1. It would be really useful to have a global QWebPluginFactory (similar to
the QImageIO plugins) that add support for new content types to every
QtWebKit application, as opposed to having to register every plugin with
the QWebPage
2. Scrolling doesn't seem to work. Insert a Qt widget (e.g. a QPushButton)
into an HTML page with QWebPluginFactory, then scroll away from its
position -- it remains in the position it was originally drawn on the
screen (and it's not a missing redraw -- it can actually be clicked in the
wrong location). The same problem occurs when inserting the widget through
overloading QWebPage::createPlugin.
3. It isn't very clear what object should be given as the parent for the
widget returned by QWebPluginFactory -- should it just be 0?
If it's supposed to be the QWebView showing the page,
QWebPluginFactory::create() needs to know what QWebPage it's
being called for (QWebPage::createPlugin can use view(), but
QWebPluginFactory doesn't know what QWebPage object to use)
4. Why is the return value of QWebPluginFactory::create a QObject*
(as opposed to a QWidget*), if the docs say it must be a QWidget?
Best regards
bero
To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]