Hi
What is the preferred way to detect and handle screen orientation (portrait
or
landscape) in Qt-based applications ?
Using
//set orientation
#if (QT_VERSION < 0x040702)
setAttribute(static_cast<Qt::WidgetAttribute>(130), true);
#else
setAttribute(Qt::WA_AutoOrientation, true);
#endif
doesn't seem to have any effect on ExoPC tablet running MeeGo even if the OS
GUI changes orientation. Should I use instead QOrientationReading class ?
thanks
--
Bogdan Cristea
Software Engineer
tel: +33 (0)6 21 64 15 81
web: http://sites.google.com/site/cristeab/
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines