Hello everyone,
I just want to ask something regarding the softkeys. I am a newbie on Qt development. I've already searched for answers that nobody seemed to have. So i decided to post my question as a new thread.
As a summary, what i want to do is, I want to hide the softkeys (Exit and the blank button) when my media player plays a video.
I have a media player code which plays video streaming. I can toggle between fullscreen and the normal window by touching the screen while the video is playing. But I got this problem of the softkeys showing when they shouldn't whenever i toggle between fullscreen and the normal screen. Please see the following screenshot for the behavior I am encountering:
This is the screenshot while the video is playing on normal screen, not in fullscreen: http://i129.photobucket.com/albums/p...t/DSC01341.jpg
Please also take note of the close button on the lower right part of the screen.
And this is the screenshot when video is playing in fullscreen mode:
http://i129.photobucket.com/albums/p220/aya-aeris/Bug%20Report/DSC01342.jpg
This is alright.
The problem comes here, when i toggle between the normal screen and full screen for at least twice (i.e., I touch the screen for 4 times), please see the image:
http://i129.photobucket.com/albums/p...t/DSC01343.jpg
The softkeys displayed when they shouldn't. and they are also displayed when in full screen mode. And see how the softkeys covered my close button on the lower right. I can't close my media player and I cannot go back to my application. I have to Exit and restart it again.
I've tried raise(), I read it somewhere, it works great in my splash screen on this app, but it doesn't work on the my media player.
I also tried setWindowFlags( windowFlags()& Qt::WindowSoftkeysVisibleHint ), but the video could not enter the full screen mode for some reason I don't know.and this is not what I want.
I wanted to paste my code here, but it is a bit long. >__<
If anyone has a solution for this, please let me know. I'm a noob and I'm going crazy over this problem of mine.
Thank you very much for any assistance that you can provide!
Bookmarks