summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptengineagent.cpp
diff options
context:
space:
mode:
authorCarlos Manuel Duclos Vergara <carlos.duclos@nokia.com>2010-01-27 13:44:59 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-01-29 11:29:31 (GMT)
commit4d4f37f4490632bb78c473bc7df1a4df6efb3243 (patch)
tree5fad19c5b04cd82bf573ea20411157f2b915f19e /doc/src/snippets/code/src_script_qscriptengineagent.cpp
parentc1cab191a450dda39f5a0b6c46311ee640780cb6 (diff)
downloadQt-4d4f37f4490632bb78c473bc7df1a4df6efb3243.zip
Qt-4d4f37f4490632bb78c473bc7df1a4df6efb3243.tar.gz
Qt-4d4f37f4490632bb78c473bc7df1a4df6efb3243.tar.bz2
Mac: Calling showFullScreen() then showNormal() on a widget results in top menu hiding.
The problem here was the way we entered Full Screen Mode. We were using "kUIModeAllSuppressed" which does the following according to the manual: kUIModeAllSuppressed All system UI elements (including the menu bar) are hidden. However, these elements may automatically show themselves in response to mouse movements or other user activity. I changed it to "kUIModeAllHidden", which does the following: All system UI elements (including the menu bar) are hidden. To prevent a change of behavior I added the following option to the SetSystemUIMode: kUIOptionAutoShowMenuBar This flag specifies that the menu bar automatically shows itself when the user moves the mouse into the screen area that would ordinarily be occupied by the menu bar. Only valid for the presentation mode kUIModeAllHidden. Task-number: QTBUG-7625 Reviewed-by: Richard Moe Gustavsen (cherry picked from commit 9d207f042ea135eda6bcd91c47d581914470fa6d)
Diffstat (limited to 'doc/src/snippets/code/src_script_qscriptengineagent.cpp')
0 files changed, 0 insertions, 0 deletions