[Webkit-unassigned] [Bug 28865] [Qt] Make cursor set cleaner in QtWebKit Api: eliminate SetCursorEvent hack.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 1 04:41:19 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28865
--- Comment #1 from Antonio Gomes (tonikitoo) <tonikitoo at gmail.com> 2009-09-01 04:41:19 PDT ---
in addition, in my case for example, since hostWindow()->platformWindow() *has*
to be a QWidget and we had a QGraphicsWidget (not a QWidget) subclass, I had:
1) to make the QGraphicsView->viewport() (note it is a QWidget) as the parent
of my QWebPage
2) Install an eventFilter to my viweport widget, to filter the SetCursorEvent
event from WidgetQt.
3) Since SetCursorEvent is in a private header (qwebpage_p.h), I had to
duplicate the class in my code and make static_cast's for things to work.
:(
--
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