Bug 47224 - [Qt] No way to highlight elements
Summary: [Qt] No way to highlight elements
Status: RESOLVED DUPLICATE of bug 35125
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 15:53 PDT by Eugene Ostroukhov
Modified: 2010-12-21 11:27 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Ostroukhov 2010-10-05 15:53:34 PDT
I would like to implement some sort of element highlighting. You can see it in other browsers when they highlight elements when you hover them in web inspector. Qt has stubs for this functionality:

void InspectorClientQt::highlight(Node*)
{
    notImplemented();
}

void InspectorClientQt::hideHighlight()
{
    notImplemented();
}

It would be interesting for me to implement this - but I am not sure where to start. Would it be feasible to add another layer (QWebFrame::HighlightLayer) to QWebFrame and paint the highlight in QWebFramePrivate::renderRelativeCoords?
Comment 1 Eugene Ostroukhov 2010-12-21 11:27:13 PST

*** This bug has been marked as a duplicate of bug 35125 ***