[maemo-developers] Qt Autorotation
From: Daniil Ivanov daniil.ivanov at gmail.comDate: Wed May 26 18:52:37 EEST 2010
- Previous message: Qt Autorotation
- Next message: Qt Autorotation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Felipe!
Two things. Autorotation was around since N900 sales release.
And this test app works for me fine in PR 1.2 without pressing anything.
#include <QApplication>
#include <QMainWindow>
int
main (int argc,
char **argv)
{
QApplication app(argc, argv);
QMainWindow win;
win.setAttribute(Qt::WA_Maemo5AutoOrientation, true);
win.show();
return app.exec();
}
~Daniil.
On Wed, May 26, 2010 at 6: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
>
- Previous message: Qt Autorotation
- Next message: Qt Autorotation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
