How to convert whole qt gui application from portrait to landscape mode
-
hi,
i have created a qt GUI application of screen size 240 x 320(portrait mode). Now i need to convert my whole application to 320 x 240(landscape mode), so that properly it will fit in LCD of screen size 320 x 240.
tell me how to convert my whole application to landscape mode. -
You are talking about classic Qt Widgets, right? Use layouts and it will give you more freedom.
-
Now i am having entirely ready application . And i don't want to alter it. Just i need to change orientation. Any simple way....?
Thanks for reply.
-
Using layouts is the simpliest way. If you of course need only sizes changing, not altering elements positions
-
yes. When i resize my QMainWindow to 320 x 240 , my whole stack widget is truncated. so i need to change orientation of that stack widget. there are so many pages in stack widget
-
i need to tilt(90 degree i.e orientation from 240x320 to 320x240) my whole qt Gui application.
-
I got by rotating to 90 degree in QGraphicsView. But I am getting horizontal and vertical scroll bars. how to remove those scroll bars.
-
may be you can try setVerticalScrollBarPolicy() setHorizontalScrollBarPolicy().