[maemo-developers] Qt Autorotation
From: Luca Donaggio donaggio at gmail.comDate: Wed May 26 18:50:34 EEST 2010
- Previous message: Qt Autorotation
- Next message: Qt Autorotation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, May 26, 2010 at 5:21 PM, Felipe Crochik <felipe at crochik.com> wrote: > Now that PR1.2 is out autorotation works!!! Great but. > Has anybody figured out how to control the autorotation on the application > (without the "Ctrl+shift+r")? > > The WA_Maemo5AutoOrientation only tells "the device" that you want this > application to autorotate but the user still needs to press the "shortcut" > (I have the worst time with my fat fingers) to activate/deactivate it. And > worst of all you need to do the same every time you start the application. > At least I would like to allow the user to save as a setting for later... > > Thanks, > Felipe > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-developers > I'm not sure I'm following you... I just tried with an app I'm working on (based on python + PySide) and the only thing needed to enable autoratation is setting the WA_Maemo5AutoOrientation flag for *every* window. The only issue I'm having is that if you open a new stacked window while in portrait, it nevertheless starts in landscape, but turning the device around a bit triggers auto rotation again. -- Luca Donaggio -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100526/17be6d9c/attachment.htm>
- Previous message: Qt Autorotation
- Next message: Qt Autorotation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]