summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.qdoc
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-04-12 10:35:41 (GMT)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-04-12 10:35:41 (GMT)
commit565e8679374e71df9f72074dd3c71c929aeeafc8 (patch)
treec135fc6befac2a771991fd71c70409d63af25a56 /src/corelib/global/qnamespace.qdoc
parent8b9c94c95ef5dd9620dc35c4ab20cd109369636f (diff)
downloadQt-565e8679374e71df9f72074dd3c71c929aeeafc8.zip
Qt-565e8679374e71df9f72074dd3c71c929aeeafc8.tar.gz
Qt-565e8679374e71df9f72074dd3c71c929aeeafc8.tar.bz2
Use FixNativeOrientation on Symbian when the application wants it.
Applications can request the usage of RWindow::FixNativeOrientation() by setting the new Qt::WA_SymbianNoSystemRotation attribute for their fullscreen top-level widget (which in practice will either be a graphics or declarative view). This will fix the underlying EGL window surface and the QWidget dimensions to the dimension of the native orientation of the device (typically portrait). The default auto-rotation can be left enabled, however it will be up to the application to rotate the drawing. Global notifications, VKB, etc. will still appear in the proper orientation. Another benefit is improved performance in the non-native orientation. Task-number: QTBUG-17742 Reviewed-by: Jason Barron Reviewed-by: Jani Hautakangas
Diffstat (limited to 'src/corelib/global/qnamespace.qdoc')
-rw-r--r--src/corelib/global/qnamespace.qdoc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index 22ad83b..f03fb25 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -1244,6 +1244,7 @@
\omitvalue WA_SetWindowModality
\omitvalue WA_WState_WindowOpacitySet
\omitvalue WA_WState_AcceptedTouchBeginEvent
+ \omitvalue WA_SymbianNoSystemRotation
*/
/*! \typedef Qt::HANDLE