[Webkit-unassigned] [Bug 30773] [Qt] QWebInspector: improve QWebPage::webInspectorTriggered(QWebElement&) -> QWebInspector::show() connection
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 30 05:40:45 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30773
--- Comment #6 from Kenneth Rohde Christiansen <kenneth at webkit.org> 2009-10-30 05:40:44 PDT ---
> == Explanation:
> // In 4.6
> QWebInspector *inspector = new QWebInspector;
> inspector->setPage(page) // <-- In there, QWebPage keeps a pointer to the
> // inspector and in trigger action, calls
> // insp->show() and sets its element
>
> // In 4.7
> QWebInspector *inspector = new QWebInspector;
> inspector->setPage(page) // <-- In there, signals from QWebPage are
> // connected to the show() and
> // setInspectedElement(QWE&) slots
It is possible to use the same web inspector for more pages?
I don't like the set page so much, as it is more a "watch page" or so. Would it
be possible to do it the other way around?
QWebPage::setInspectable(new QWebInspector) ?
--
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