Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: 是否支持显示css设置的自定义鼠标样式 #451

Open
kc991229 opened this issue Oct 31, 2024 · 1 comment
Open

[BUG]: 是否支持显示css设置的自定义鼠标样式 #451

kc991229 opened this issue Oct 31, 2024 · 1 comment

Comments

@kc991229
Copy link

例如:我css中针对图片设置了hover显示放大镜,如何在QCefView中显示

@tishion
Copy link
Member

tishion commented Nov 2, 2024

OSR模式需要自己处理鼠标指针,目前QCefView只实现了一些Qt内置的鼠标形状的转换,自定义鼠标是cef传递了鼠标的位图数据,然后应用层自己设置

具体参考这里

CCefClientDelegate::cursorChanged(CefRefPtr<CefBrowser> browser,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants