[maemo-developers] How to force landscape mode in Qt 4.6.2?
From: Ram Kurvakat rkmaemo at gmx.comDate: Tue Jun 8 14:08:36 EEST 2010
- Previous message: How to force landscape mode in Qt 4.6.2?
- Next message: How to force landscape mode in Qt 4.6.2?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
one way would be to disable the accelerometer, saves battery as well if its not needed. ----- Original Message ----- From: Sascha Mäkelä Sent: 06/08/10 09:37 AM To: maemo-developers Subject: How to force landscape mode in Qt 4.6.2? Hi, In my app I have setAttribute(Qt::WA_Maemo5AutoOrientation, true) in the main.cpp. The auto orientation works fine. However, I have some stacked windows that I want to display only in landscape. I've tried using setAttribute(Qt::WA_Maemo5LandscapeOrientation, true) when creating the window or in the window it self, but it doesn't seem to have any effect. How can I force some of the windows to be only landscape? Cheers, Sascha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100608/e8c7dae1/attachment.htm>
- Previous message: How to force landscape mode in Qt 4.6.2?
- Next message: How to force landscape mode in Qt 4.6.2?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]