[Qt-interest] QWebView & setCursor

Harri Pasanen grego at mpaja.com
Wed Jun 15 18:36:03 CEST 2011


I'm using Qt 4.7.3 desktop on Kubuntu 10.10 amd64 and trying to set 

ui->webview->setCursor(Qt::WhatsThisCursor);

but that does not seem to do anything.  My idea was to listen to mouse click 
in javascript and change the cursor/take action once the user clicks on the 
page in webview.

QApplication::setOverrideCursor(Qt::WhatsThisCursor);

works, but changes the cursor over all widgets.

(WhatsThisCursor is just for illustration..., I'll probably do something 
similar but custom...)

Any hints?


Harri
http://mpaja.com/



More information about the Qt-interest-old mailing list