Mr.Simple
6th October 2011, 16:32
Hello everyone,
I am playing a video using phonon videoplayer,and call setFullScreen() to enter full screen mode,but how can i exit it ? the mouseEvent isn't work,my videoPlayer is inherit from QWidget.
Qt Document's Description:
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.
i can't understand what's it mean,and thanks for help.
I am playing a video using phonon videoplayer,and call setFullScreen() to enter full screen mode,but how can i exit it ? the mouseEvent isn't work,my videoPlayer is inherit from QWidget.
Qt Document's Description:
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.
i can't understand what's it mean,and thanks for help.