Hi Kimmo! 2010/6/8 Kimmo Hämäläinen <[email protected]>: > On Tue, 2010-06-08 at 15:43 +0200, ext Daniil Ivanov wrote: >> Hi Kimmo! >> >> It sets in case Qt::WA_Maemo5PortraitOrientation true >> Qt::WA_Maemo5LandscapeOrientation false >> _HILDON_PORTRAIT_MODE_SUPPORT(CARDINAL) = 1 >> _HILDON_PORTRAIT_MODE_REQUEST(CARDINAL) = 1 > > What about in the case that you have only > Qt::WA_Maemo5LandscapeOrientation set?
If it's set to true, then no properties and if to false it will be as above. ~Daniil >> I just wonder what will happen if to set >> _HILDON_PORTRAIT_MODE_SUPPORT(CARDINAL) = 1 >> _HILDON_PORTRAIT_MODE_REQUEST(CARDINAL) = 0 >> for rest of two cases? > > I think SUPPORT=1 & REQUEST=0 is the same as "rotate automatically" > nowadays. > > -Kimmo > >> >> Thanks, Daniil. >> >> 2010/6/8 Kimmo Hämäläinen <[email protected]>: >> > On Tue, 2010-06-08 at 10:37 +0200, ext Sascha Mäkelä wrote: >> >> 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? >> > >> > Could you check what xprop (in x11-utils package) shows about the window >> > after setting this Qt::WA_Maemo5LandscapeOrientation? >> > >> > -Kimmo >> > >> >> >> >> >> >> >> >> >> >> Cheers, >> >> >> >> >> >> Sascha >> > >> > _______________________________________________ >> > maemo-developers mailing list >> > [email protected] >> > https://lists.maemo.org/mailman/listinfo/maemo-developers >> > > > _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
