View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#1
In my application, cuteTube, I would like one window (the video playback window) to have landscape orientation only, but this window inherits the Qt.WA_Maemo5AutoOrientation attribute from it's parent window. I have tried to override this with

Code:
self.setAttribute(Qt.WA_Maemo5LandscapeOrientation, True)
but it doesn't have any effect.

Can anyone tell me if it is possible to override the Qt.WA_Maemo5AutoOrientation attribute when creating a child window? I would like to avoid having to set the entire application to landscape only.
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub

Last edited by marxian; 2010-12-06 at 16:23.