[Webkit-unassigned] [Bug 29710] [Qt] QtWebKit does not support QGraphicsWidget-plugins

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 24 04:14:46 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29710





--- Comment #2 from J-P Nurmi <jpnurmi at gmail.com>  2009-09-24 04:14:46 PDT ---
This makes it possible reimplement QWebPage::createPlugin() in the following
manner:

QObject* MyWebPage::createPlugin(const QString& classId, const QUrl& url, const
QStringList& paramNames, const QStringList& paramValues)
{
    // ...
    return new MyGraphicsWidget(qobject_cast<QGraphicsWidget*>(parent()));
}

This just assumes that QWebGraphicsItem is the parent of the QWebPage instance.
Perhaps providing a QWebGraphicsItem accessor in QWebPage API would be needed,
since there is no way to get the associated QWebGraphicsItem. QWebPage::view()
returns the graphics view...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list