Phonon框架的
视频播放器进入全屏模式后如何捕获
鼠标事件?我是想进入全屏的时候点击右键会出现菜单,比如退出全屏等,文档给出的说明如下:
fullScreen : bool
This property holds whether the video is shown using the complete screen.
The property differs from
QWidget::fullScreen in that it is writeable.
By default the
widget is
not shown in fullScreen.
Warning: When switching to full screen mode using setFullScreen(), the widget onto which the video is rendered is shown as a top-level
window. Key event forwarding is handled by
VideoWidget, but if you need to handle other events, e.g., mouse events, you should handle fullscreen mode yourself.
Access functions:理解的朋友请给出解决方法,不甚感激。