class MyView : public QWebView
{
Q_OBJECT
public:
MyView(QWidget *parent = 0) : QWebView(parent) {
setMouseTracking(true);
}
void mouseMoveEvent(QMouseEvent *event) {
qDebug() << event->x() << ", " << event->y();
}
};