View Single Post
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#51
Almost got rotation working the way I want. Having trouble with the stacked windows, though.

It seems that the window attributes on the top window of this stack actually drives the rotation elements that are honored.
Code:
nav->setAttribute(Qt::WA_Maemo5StackedWindow);
I'm having trouble figuring out how to keep the pointer to the top window so I can just access it from anywhere in the window stack from any descendant window. I could use a global variable, but is that acceptable practice in C++?
 

The Following User Says Thank You to jackburton For This Useful Post: