Thread
:
How to set a Qt form to portrait orientation in PyQt?
View Single Post
kojacker
2010-06-30 , 00:19
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#
3
Thank you for your help Mece
I finally got it working by removing the "ui" from self.ui.setAttribute(Qt.WA_Maemo5PortraitOrientati on, True), so it now reads self.setAttribute.......
One thing that kinda irritates me is that when I minimize the application window, to see the multitasking view, it goes back into trying to display the form in landscape view so it looks wrong in the small preview pane. Once I click on it again, it expands and goes back into portrait. Is this normal behaviour?
__________________
Follow me on my neglected twitter
@kojacker
Cybot950 -
Control a robot with your N9/N950
SMSPetFeeder -
Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 -
Use your N9/N950 to fire a Nerf gun
Quote & Reply
|
kojacker
View Public Profile
Send a private message to kojacker
Find all posts by kojacker