On Wednesday 02 April 2008, Bernhard Rosenkränzer wrote:
> On Wednesday 02 April 2008 20.06:13 Lars Knoll wrote:
> > > > Would you always want to use the cursor you set? For images, zooming,
> > > > text selection, plugins loaded, scrolling...?
> >
> > No, setCursor is the right API. It's a bug that it doesn't override the
> > cursors specified in the HTML. There's a QWidget::unsetCursor() method as
> > well, and that one should revert to the default behavior.
>
> Right... But there's still a need for another method -- probably best done
> as a setCursor() with different arguments:
>
> webview->setCursor(Qt::PointingHand, QCursor(QPixmap("somefile.png")));
>
> Basically, this would tell WebKit "change the cursor as you like, but if
> the stylesheet or context wants to switch to the PointingHand cursor, make
> it look like somefile.png".To be honest, I currently don't really see the point of having such a method. Different cursor types should match the rest of your application. Cheers, Lars To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]
