View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#375
Originally Posted by DavyP View Post
I basically intercept window resize events with resizeEvent(QResizeEvent* event).

I use this both to capture going fullscreen or normal screen, but also for screen rotations.

I agree that the forcerotation was a hack. And I was able to get rid of that by adding setAttribute(Qt::WA_Maemo5AutoOrientation, true); But I don't need another signal/slot to figure out whether I am in portrait or landscape mode (I just care about the window ize).

So thanks for the feedback.

Davy
Well, stritly speaking, you should not rely on your window size to decide if you are landscape or portrait, that is why desktop size is. Anyway, it is up to you.

When I am back home I will post some other Maemo5 specifics for fullscreen that might boost performance even further.
 

The Following 2 Users Say Thank You to freemangordon For This Useful Post: