Can you be more specific?
Which widget are you getting te windId() for?
Where is this widget relative to the web view? Parent, sibling?

Cheers,
_