tomg_66
21st October 2010, 17:32
I have a device that I would like to dynamically re-orient the co-ordinate system on. Like taking the ipad and turning it on it's side. How can I re-map the co-ordinate system so that instead of the geometry of the screen reporting the screen as, say 800x480 and the origin in the upper left hand corner, have it report the origin at one of the different corners, and the screen being 480x800, and have this happen -globally-? Otherwise it would take re-implementing -every single- widget's and -every single- button's paint event. Of course it wouldn't be difficult to shuffle around the screen when I got some signal that indicated that the orientation changed, but getting to that point seems to be the problem. I'm currently using Qt 4.6.3 (ok, I'll move to 4.7 soon) compiled for an embedded system, running on debian kernel 2.6.29 on an omap 4 chip.
TIA,
Tom
TIA,
Tom