[webkit-qt] QWebHitTestResult with Select Element

Antonio Gomes (:tonikitoo) tonikitoo at gmail.com
Mon Jun 7 07:50:48 PDT 2010


have not had time to look at the api, but it could be something around
these lines of pseudo-code, maybe:

doc = QWebFrame::documentElement
mycombo = doc.findFirst('#idOfYourHTMLElement');
for (e = mycombo.firstChild; e; e = e.nextSibling())
//magic



On Mon, Jun 7, 2010 at 10:15 AM, sunny shah <sunny.cpp at gmail.com> wrote:
> I want to get internal items ( volvo,saab,... )  of combo-box below from
> QWebHitTestResult ? Any one knows how to get it?
>
> <select>
>   <option value="volvo">Volvo</option>
>   <option value="saab">Saab</option>
>   <option value="mercedes">Mercedes</option>
>   <option value="audi">Audi</option>
> </select>
>
> _______________________________________________
> webkit-qt mailing list
> webkit-qt at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
>
>



-- 
--Antonio Gomes


More information about the webkit-qt mailing list