Repository navigation
|
Hello, how I can tracking mouse in cefview? windows 10 x64bit setmousetracking to true adding CefViewWidget.h still not working, any help? |
Answered by
tishion
Mar 18, 2023
Replies: 2 comments 3 replies
|
Not possible in non-osr mode |
1 reply
|
you can inherit QCefView and then override this method QCefView::mouseMoveEvent(event); ` // do your stuff here |
2 replies
Answer selected by
radiaku
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can inherit QCefView and then override this method QCefView::mouseMoveEvent(event);
`
void
CefViewWidget::mouseMoveEvent(QMouseEvent* event)
{
QCefView::mouseMoveEvent(event);
// do your stuff here
qDebug() << "mouse move event:" << event;
}
`